IBM Support

PI32941: RETRIEVESIGNERS.SH FAILED WITH JAVA.LANG.NOCLASSDEFFOUNDERROR: C OM.IBM.WS.MANAGEMENT.CONNECTOR.JMXCONNECTORCONTEXT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • retrieveSigners.sh failed with java.lang.NoClassDefFoundError:
    com.ibm.ws.management.connector.JMXConnectorContext
    (initialization failure)
    [1/12/15 16:59:42:217 EST] 00000001 AdminClientFa <
    createAdminClientPrivileged - failed Exit
    
    java.lang.reflect.InvocationTargetException
     at
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
     at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons
    tructorAccessorImpl.java:56)
     at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:39)
     at
    java.lang.reflect.Constructor.newInstance(Constructor.java:527)
     at
    com.ibm.websphere.management.AdminClientFactory.createAdminClien
    tPrivileged(AdminClientFactory.java:495)
     at
    com.ibm.websphere.management.AdminClientFactory.access$000(Admin
    ClientFactory.java:127)
     at
    com.ibm.websphere.management.AdminClientFactory$1.run(AdminClien
    tFactory.java:210)
     at
    com.ibm.ws.security.util.AccessController.doPrivileged(AccessCon
    troller.java:63)
     at
    com.ibm.websphere.management.AdminClientFactory.createAdminClien
    t(AdminClientFactory.java:206)
     at
    com.ibm.ws.ssl.utils.RetrieveSigners.createAdminClient(RetrieveS
    igners.java:630)
     at
    com.ibm.ws.ssl.utils.RetrieveSigners.retrieveSigners(RetrieveSig
    ners.java:130)
     at
    com.ibm.ws.ssl.utils.RetrieveSigners.main(RetrieveSigners.java:1
    14)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:23
    4)
     at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
     at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodW
    ithException(EclipseAppContainer.java:587)
     at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseApp
    Handle.java:198)
     at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.run
    Application(EclipseAppLauncher.java:110)
     at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.sta
    rt(EclipseAppLauncher.java:79)
     at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:369)
     at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:179)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
     at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
     at org.eclipse.core.launcher.Main.run(Main.java:981)
     at
    com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLaunche
    r.java:398)
     at
    com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:16
    1)
    Caused by: java.lang.NoClassDefFoundError:
    com.ibm.ws.management.connector.JMXConnectorContext
    (initialization failure)
     at java.lang.J9VMInternals.initialize(J9VMInternals.java:175)
     at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.getJMXC
    onnectorContextHeader(SOAPConnectorClient.java:1603)
     at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconne
    ct(SOAPConnectorClient.java:368)
     at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(
    SOAPConnectorClient.java:228)
     ... 38 more
    Caused by: java.lang.IllegalAccessError
     at
    com.ibm.ws.management.connector.JMXConnectorContext.<clinit>(JMX
    ConnectorContext.java:48)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Client versions 8.0 and 8.5                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NoClassDefFoundError when running     *
    *                      RetrieveSigners command on WebSphere    *
    *                      Application Client                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A ClassNotFoundException for class
    com.ibm.ws.management.connector.JMXConnectorContext is
    thrown when running the retrieveSigners command.
    

Problem conclusion

  • A new class was introduced in fixpack 8.0.0.8 and the class
    was not imported to some bundles in Application Client and
    it caused NoClassDefFoundError. The class is now correctly
    imported
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.11 and 8.5.5.5.  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

    PI32941

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-19

  • Closed date

    2015-02-11

  • Last modified date

    2015-02-11

  • 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

  • R800 PSY

       UP

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

Document Information

Modified date:
27 April 2022