IBM Support

PI91977: WebSphere Application Server config files length zero bytes

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WebSphere configuration files like security.xml or server.xml
    are found to be zero bytes.
    Nothing appears to monitor or detect zero length XML files in
    the repository.
    This causes major issues trying to run WebSphere.
    An example of what happens when the security.xml file is zero
    bytes and WebSphere is set to run as a Windows service:
    --------
    instance is not accessible - Service crash after a few minutes.
    see the following in WAS systemout:
    [27.11.17 07:46:38:639 CET] 00000001 SSLComponentI I
    CWPKI0001I: SSL service is initializing the configuration
    [27.11.17 07:46:38:749 CET] 00000001 FfdcProvider W
    com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC
    Incident emitted on
    D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\
    server1_b9699d77_17.11.27_07.46.38.6557402039700432314128.txt
    com.ibm.ws.ssl.core.SSLComponentImpl.initialize 200
    [27.11.17 07:46:38:749 CET] 00000001 SSLComponentI A
    CWPKI0007I: SSL service failed to start successfully
    [27.11.17 07:46:38:749 CET] 00000001 WsServerImpl E WSVR0100W:
    An error occurred initializing, server1 [class
    com.ibm.ws.runtime.component.ServerImpl]
    com.ibm.ws.exception.ConfigurationError:
    com.ibm.websphere.ssl.SSLException:
    Cannot get security object from WCCM.
    at
    com.ibm.ws.ssl.core.SSLComponentImpl.initialize(SSLComponentImpl
    .java:208)
    at
    com.ibm.ws.runtime.component.ContainerHelper.initWsComponent(Con
    tainerHelper.java:1193)
    --------
    There is some correlation to the security.xml file getting
    corrupted to zero bytes and the scheduled job to check /
    monitor the expiration dates of the SSL certificates.
    

Local fix

  • To be prepared in case the security.xml file gets set to zero
    bytes, make sure your back up processes back up security.xml
    file and make sure the backup of the security.xml file is not
    zero bytes, so that if you need to recover it you will have a
    valid file.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Server fails to start because           *
    *                      security.xml is empty.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In rare circumstances the security.xml file may be truncated to
    0 length which causes the server to fail to start.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI91977

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-02

  • Closed date

    2018-08-10

  • Last modified date

    2018-08-10

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R850 PSY

       UP

  • R900 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":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022