IBM Support

PI81056: Liberty server needs to retry starting the TCP channel after error CWWKO0224E due to hostname resolution error.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the Liberty server is started shortly after TCPIP is
    up,
    there is a timing window where there may not be routes to
    the
    DNS causing a the server's host name to fail to be resolved
    (since the DNS cannot be contacted).  In a case like this,
    if
    the server tries to resolve the host name at a later time,
    the
    the host name will resolve successfully.  So, the server
    should
    retry starting the TCP Channel, versus needing to be
    restarted.
    
    The messages.log will show these errors:
    CWWKO0224E: TCP Channel defaultHttpEndpoint-ssl
    initialization
    failed.  The host server_hostname and port server_port could
    not be resolved.
    
    CWWKO0029E: An exception was generated  when initializing
    chain
    CHAIN-defaultHttpEndpoint-ssl because of exception
    com.ibm.wsspi.channelfw.exception.ChannelException: TCP
    Channel: defaultHttpEndpoint-ssl- Problem occurred while
    starting channel: local address unresolved
    

Local fix

  • start the Liberty Server after TCPIP and other network
    applications like OMPROUTE are fully up
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The server stops attempting to bind to  *
    *                      the socket when a hostname resolution   *
    *                      failure occurrs                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During server start up if the hostname or port can't be resolved
    a message similar to this is emitted:
    
    CWWKO0224E: TCP Channel defaultHttpEndpoint-ssl initialization
    failed.  The host server_hostname and port server_port could not
    be resolved.
    
    The server does not retry the bind, even when it could be
    resolved shortly after the error message is issued.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI81056

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-04

  • Closed date

    2017-08-22

  • Last modified date

    2017-08-22

  • 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 PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"CD0","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 June 2020