IBM Support

PI58021: ClassNotFoundException if application contains a jar which conta ins other archives

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an application contains a jar which contains other
    archives, it will cause an FFDC:
    Exception = java.lang.ClassNotFoundException
    Source =
    com.ibm.ws.webbeans.impl.scanner.LibertyScannerService.loadB
    eanClasses
    probeid = 342
    Stack Dump = java.lang.ClassNotFoundException:
    cclcfgapi.jar.com.cognos.cclcfgapi.CCLConfigurationException
    at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.findClas
    s(UnifiedClassLoader.java:118)
    at
    java.lang.ClassLoader.loadClassHelper(ClassLoader.java:797)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:775)
         at
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Contexts and       *
    *                  Dependency Injection (CDI)                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Ignore the nested archives inside a     *
    *                      jar.                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an application contains a jar which contains other archives,
    it will cause the following FFDC:
    Exception = java.lang.ClassNotFoundException
    Source =
    com.ibm.ws.webbeans.impl.scanner.LibertyScannerService.loadBeanC
    lasses
    probeid = 342
    Stack Dump = java.lang.ClassNotFoundException:
    cclcfgapi.jar.com.cognos.cclcfgapi.CCLConfigurationException
         at
    com.ibm.ws.classloading.internal.UnifiedClassLoader.findClass(Un
    ifiedClassLoader.java:118)
         at
    java.lang.ClassLoader.loadClassHelper(ClassLoader.java:797)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:775)
         at
    

Problem conclusion

  • The logic has been changed to ignore the archives embedded in a
    jar. Therefore, no FFDC will be thrown.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.9.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • no
    

Comments

APAR Information

  • APAR number

    PI58021

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-24

  • Closed date

    2016-02-25

  • Last modified date

    2016-02-25

  • 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

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 October 2021