IBM Support

PI12632: ALLOW DEFAULTHTTPENDPOINT HOST TO BE OVERRIDDEN WITHOUT CONFIG URATION CHANGE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In some environments the host that liberty profile listens on
    needs to be configured at launch time rather than at config time
    The default server template hard codes the host to be localhost
    which means a configuration change is required in order to
    enable the host to be overridden at launch.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  Liberty Profile                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Default server template made it harder  *
    *                      to override the default host name used  *
    *                      for network services.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The default server template for liberty profile contains the
    following server
    configuration:
    <httpEndpoint id="defaultHttpEndpoint"
    host="localhost"
    httpPort="9080"
    httpsPort="9443" />
    This element isn't required as it describes the default, but
    was added to simplify overriding the configuration of the http
    endpoint. However it hard codes the host to be localhost. The
    default configuration uses localhost or if set the
    defaultHostName property.
    In theory overriding the default should have been as simple as
    defining the variable defaultHostName, however this is ignored
    due to the host="localhost" attribute being set.
    

Problem conclusion

  • This fix updates the default server template to be:
    
        <!-- To access this server from a remote client add a host
    attribute to the
    following element, e.g. host="*" -->
        <httpEndpoint id="defaultHttpEndpoint"
                      httpPort="9080"
                      httpsPort="9443" />
    
    The result of this is that copying the collective create output
    into the server.xml now automatically starts the collective
    listening on the host name rather than requiring an additional
    configuration change, in addition to allowing the host to be
    overridden more easily in other environments.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.2.
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI12632

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-27

  • Closed date

    2014-03-18

  • Last modified date

    2014-03-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022