IBM Support

PM30783: WHEN LOOKING UP A TOPIC CONNECTION FACTORY NOCLASSDEFFOUNDERROR OCCURS IN THIN CLIENT USING EJB AND JMS THIN CLIENT LIBS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Message Broker is attempting to use the thin JMS client to send
    and receive messages securely with SSL.  They have the following
    jars:
    
    com.ibm.ws.ejb.thinclient_7.0.0.jar
    com.ibm.ws.sib.client.thin.jms_7.0.0.jar
    
    as stipulated here:
    
    
    http://publib.boulder.ibm.com/infocenter/wasinfo/fep/topic/com.i
    bm.websp
    here.nd.multiplatform.doc/info/ae/ae/rjj_jmsthcli_migrate602.htm
    l
    
    When looking up a topic connection factory following exception
    occurs:
    
    
    java.lang.NoClassDefFoundError:
    org.eclipse.wst.common.internal.emf.utilities.EncoderDecoderAdap
    ter
     at java.lang.ClassLoader.defineClassImpl(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:265)
     at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
    va:69)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:521)
     at java.net.URLClassLoader.access$300(URLClassLoader.java:66)
     at
    java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:985)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:284)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:416)
     at
    com.ibm.broker.classloading.JavaResourceClassLoader.findClass(Ja
    vaResour
    ceClassLoader.java:146)
     at
    com.ibm.broker.classloading.ReverseDelegationClassLoader.findCla
    ss(Rever
    seDelegationClassLoader.java:80)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
     at
    com.ibm.ws.naming.util.WsnInitCtxFactory.decodeCredentials(WsnIn
    itCtxFac
    tory.java:779)
     at
    com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextIntern
    al(WsnIn
    itCtxFactory.java:429)
     at
    com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123
    )
     at
    com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.ja
    va:798)
     at
    com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
     at
    com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
     at javax.naming.InitialContext.lookup(InitialContext.java:455)
    

Local fix

  • use com.ibm.ws.admin.client_7.0.0.jar along with
    com.ibm.ws.ejb.thinclient_7.0.0.jar
    com.ibm.ws.sib.client.thin.jms_7.0.0.jar
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Instantiating                           *
    *                      java.naming.InitialContext with         *
    *                      security properties results in a        *
    *                      java.lang.NoClassDefFoundError when     *
    *                      run using a client jar.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Instantiating java.naming.InitialContext with JNDI security
    properties results in java.lang.NoClassDefFoundError on
    org.eclipse.wst.common.internal.emf.utilities.EncoderDecoderAdap
    ter when run using a client jar, such as
    com.ibm.ws.ejb.thinclient_7.0.0.jar.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM30783

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-19

  • Closed date

    2011-02-22

  • Last modified date

    2011-05-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM38964

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

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

Document Information

Modified date:
27 October 2021