IBM Support

PM68553: AN OSGI APPLICATION CONTAINING A WAB SOMETIMES FAILS TO START CO RRECTLY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An OSGi application containing a WAB fails to start within the
    timeout period and message CWWKZ0022W is issued.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile using OSGi           *
    *                  applications containing web application     *
    *                  bundles (WABs).                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: An OSGi application containing a WAB    *
    *                      can fail to start correctly.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An OSGi application containing a WAB may fail to start
    completely. Timing conditions when installing an OSGi
    application containing one or more WABs could cause start
    events to be missed and the OSGi application may fail to
    report as started.
    During application install the OSGi application framework may
    try to find additional packages from features to be able to
    resolve OSGi application dependencies. This process can cause
    OSGi applications to be restarted. In the case of an OSGi
    application containing a WAB the application restart can cause
    the WAB bundle to be undeployed and redeployed. As a result
    the EBA start check may wait for a deployment notification
    from a WAB that could never arrive due to the undeployment.
    

Problem conclusion

  • In order to solve this problem a number of fixes were required:
    
    1. The synchronization of the code around the deploy and
    undeploy of WABs was improved.
    
    2. The OSGi application framework now performs a package
    refresh on activation to avoid it always being necessary on
    first application installation.
    
    3. Synchronization improvements around the OSGi application
    framework refresh to avoid clashes during multiple EBA installs.
    
    4. The OSGi application framework refresh now waits for
    existing install actions (including WAB deployment) to finish
    before progressing.
    
    5. The OSGi application framework refresh now does not
    commence until the complete removal of partially installed
    OSGi applications (including undeployment of WABs).
    
    6. WAB events were improved to coincide with bundle lifecycle
    events and provide better failure notification.
    
    7. The detection of WAB events by the EBA application handler
    was improved.
    
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1. 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

    PM68553

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-10

  • Closed date

    2012-09-26

  • Last modified date

    2012-09-26

  • 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:
29 October 2021