We have just moved to RAD 8.5, and I am having issues (which may be due to the move, or more likely due to my ignorance).
I have an EAR file - it has two modules (OnfsTh.war and FtpReInsEjb.jar). The war file contains a web service that then drops a message onto a JMS bus for the MDB inside the ejb.jar file.
As part of the onMessage processing, the MDB calls classes in several Utility jar files. Everything worked find until I added another call in onMessage to class in a new jar file. It is able to find classes in the other jar's (both open source jars and jars from other projects) just fine - but when I come to the TiffToTiff jar, I get a Class Not Found error. Everything compiles fine - all the spelling is fine - but it can't find TiffToTiff. I am at a loss.
RAD doesn't appear to be putting any classpath information in any Manifests - but since it can find the other classes in the other jars, I stopped going down that path.
CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage" on bean "BeanId(OnfsThEAR#FtpReInsEjb.jar#FtpReInsMDB, null)". Exception data: java.lang.NoClassDefFoundError: com/onfs/tifftotiff/TiffToTiff
at com.onfs.thunderhead.ftpreins.FtpReInsImpl.getAttachmentList(FtpReInsImpl.java:95)
at com.onfs.thunderhead.ftpreins.FtpReInsImpl.processWsCall(FtpReInsImpl.java:178)
at com.onfs.thunderhead.ftpreins.FtpReInsMDB.onMessage(FtpReInsMDB.java:53)
at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1164)
at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:843)
at $Proxy37.onMessage(Unknown Source)
at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)
at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:901)
at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:592)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:608)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
Caused by: java.lang.ClassNotFoundException: com.onfs.tifftotiff.TiffToTiff
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:198)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:665)
at java.lang.ClassLoader.loadClass(ClassLoader.java:644)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:113)
at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:583)
at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
... 11 more