IBM Support

PM82831: JAVA.LANG.NOCLASSDEFFOUNDERROR DURING STARTUP OF LIBERTY PROFILE, SHARED LIBRARY NOT AVAILABLE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A java.lang.NoClassDefFoundError is thrown on occasion, when
    restarting the server in a Libery profile.  The shared library
    is not loaded before it is trying to be loaded by the
    application.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Adding a fileset to a library in the    *
    *                      server.xml takes 20s to update.         *
    *                      Eventually, this results in a           *
    *                      NoClassDefFoundError.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Configuration update to add files to class loader causes 20s
    delay and then fails anyway with NoClassDefFoundError.
    

Problem conclusion

  • Common libraries are only registered with the application
    classpath at the time the application starts. If the library
    is slower to come up than the application then the opportunity
    to register the library has passed. This fix added an
    asynchronous listening routine to wait for any common
    libraries should they turn up after the application has
    started.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.0. 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

    PM82831

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-14

  • Closed date

    2013-06-12

  • Last modified date

    2013-06-12

  • 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":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 June 2013