IBM Support

PH10542: JAVA.LANG.NOCLASSDEFFOUNDERROR: COM.IBM.WEBSPHERE.CSI.J2EENAME

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Below Error is seen when the issue happens
    
    [3/23/19 13:56:56:811 GMT] 00000070 SpringApplica E
    org.springframework.boot.SpringApplication reportFailure
    Application run failed
    java.lang.NoClassDefFoundError:
    com.ibm.websphere.csi.J2EEName
    at java.lang.Class.getDeclaredFieldsImpl(Native Method)
    at java.lang.Class.getDeclaredFields(Class.java:868)
    at
    net.sf.ehcache.pool.sizeof.ObjectGraphWalker.getAllFields(Object
    GraphWalker.java:266)
    
    Caused by: java.lang.ClassNotFoundException:
    com.ibm.websphere.csi.J2EEName cannot be found by
    com.ibm.ws.jaxrs20_9.0.0
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
    BundleLoader.java:501)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:421)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:412)
    at
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadCla
    ss(DefaultClassLoader.java:107
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All JAXRS users of IBM WebSphere            *
    *                  Application Server                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Running Class.getDeclaredMethods() on   *
    *                      JaxRsModuleMetaData results in          *
    *                      NoClassDefFoundError                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Attempting to run Class.getDeclaredMethods() on
    JaxRsModuleMetaData fails to load
    com.ibm.websphere.csi.J2EENAME resulting in a
    NoClassDefFoundError. This occurs because
    com.ibm.websphere.csi is not listed as a package to be
    imported.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH10542

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-04

  • Closed date

    2019-05-29

  • Last modified date

    2019-06-18

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
18 June 2019