IBM Support

PM76265: CLASSPATH ENTRIES IGNORED WHEN INSTALLING A STANDALONE RESOURCE ADAPTER (RA)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Installing a stand alone resource adapter may fail with below
    exception
    
    [25/10/12 16:11:30:982 BST] 0000005f J2CAppUtils   E
    ADMN0051E: The
    service failed to introspect the
    class:com.xxx.jca.adaptor.XXXXResourceAdapter. The
    exception
    is java.lang.NoClassDefFoundError:
    org.springframework.context.ApplicationContext
     at java.lang.J9VMInternals.verifyImpl(Native Method)
     at java.lang.J9VMInternals.verify(J9VMInternals.java:85)
     at java.lang.J9VMInternals.initialize(J9VMInternals.java:162)
     at java.lang.J9VMInternals.newInstanceImpl(Native Method)
     at java.lang.Class.newInstance(Class.java:1357)
     at
    com.ibm.ws.management.application.J2CAppUtils.getDefinedProperti
    es(J2CAp
    pUtils.java:409)
     at
    com.ibm.ws.management.component.InstallRAHelper.loadBeanProperty
    WithType
    (InstallRAHelper.java:251)
     at
    com.ibm.ws.management.component.InstallRAHelper.loadBeanProperty
    (Install
    RAHelper.java:240)
     at
    com.ibm.ws.management.component.AdminOperationsMBean.createJ2CPo
    st10Reso
    urceAdapter(AdminOperationsMBean.java:1356)
     at
    com.ibm.ws.management.component.AdminOperationsMBean.createJ2CPo
    st10Reso
    urceAdapter(AdminOperationsMBean.java:1207)
     at
    com.ibm.ws.management.component.AdminOperationsMBean._getResourc
    eAdapter
    FromRAR(AdminOperationsMBean.java:1059)
     at
    com.ibm.ws.management.component.AdminOperationsMBean.getResource
    AdapterF
    romRAR(AdminOperationsMBean.java:940)
    ....
    ....
    Caused by: java.lang.NoClassDefFoundError:
    org.springframework.context.ApplicationContext
     at java.lang.J9VMInternals.verifyImpl(Native Method)
     at java.lang.J9VMInternals.verify(J9VMInternals.java:85)
     at java.lang.J9VMInternals.initialize(J9VMInternals.java:162)
     at java.lang.J9VMInternals.newInstanceImpl(Native Method)
     at java.lang.Class.newInstance(Class.java:1357)
     at
    com.ibm.ws.management.application.J2CAppUtils.getDefinedProperti
    es(J2CAp
    pUtils.java:409)
     ... 68 more
    Caused by: java.lang.ClassNotFoundException:
    org.springframework.context.ApplicationContext
     at
    org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFile
    DynamicC
    lassLoader.loadClass(ArchiveFileDynamicClassLoader.java:269)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
     ... 74 more
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Classpath entried ignored when          *
    *                      installing a standalone Resource        *
    *                      Adapter(RA)                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The installation of a standalone Resource Adapter (RA) may
    fail with a ClassNotFoundException like the one in the error
    description above. The reason for the failure is that the
    classpath entries specified on the resource adapter config
    object were not added to the RA classloader.
    

Problem conclusion

  • The WebSphere J2C code has been fixed to add any classpath
    entries specified on the resource adapter config object to the
    RA classloader.
    
    The fix for this APAR is currently targeted for inclusion in
    the fix pack following 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

    PM76265

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-10-31

  • Closed date

    2013-04-02

  • Last modified date

    2015-01-30

  • 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

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

Document Information

Modified date:
01 November 2021