Troubleshooting
Problem
After you generate a J2C Java bean that supports both managed-connection and non-managed connection using the J2C Java bean wizard, if you run the J2C Java bean as a stand-alone Java client application with Websphere Application Server70 runtime, you will get NoClassDefFoundError.
Symptom
When you use a Java program to test a J2C Java bean, you will get the following exception in Console view:
SEVERE: javaAccessorNotSet
Exception in thread "P=943546:O=0:CT" java.lang.NoClassDefFoundError: com.ibm.ffdc.Manager
at com.ibm.ws.naming.util.RasUtil.logException(RasUtil.java:164)
at com.ibm.ws.naming.util.RasUtil.logException(RasUtil.java:72)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:362)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:421)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java: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(Unknown Source)
at sample.cics.CustomerImpl.initializeBinding(CustomerImpl.java:144)
at sample.cics.CustomerImpl.<init>(CustomerImpl.java:168)
at sample.cics.TestCustomer.main(TestCustomer.java:31)
Caused by: java.lang.ClassNotFoundException: com.ibm.ffdc.Manager
at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
... 12 more
To view more of this document
Was this topic helpful?
Document Information
More support for:
Rational Application Developer for WebSphere Software
Software version:
7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.5.1, 7.5.5.2, 7.5.5.3, 7.5.5.4, 7.5.5.5, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.4.1, 8.0.4.2, 8.0.4.3, 8.5, 8.5.1, 8.5.5, 8.5.5.1, 8.5.5.2, 9.0, 9.0.1, 9.0.1.1, 9.1, 9.1.0.1, 9.1.1
Operating system(s):
Windows, Linux
Document number:
366911
Modified date:
16 June 2018
UID
swg21329044