Hi Guys,
I am using v4.0.0 with jBossMQ and I am getting a NoClassDefFoundException thrown when I deploy an EAR file containing a JAR file with MDBs and an associated Utility JAR file.
If I deploy the EAR when there are already messages in the Queue that is assigned to the MDB then I get the exception thrown when the MDB class tries to utilise one of the classes in the associated utility JAR file. However I don't get the same error if I only put messages into the queue after the MDB has been fully deployed. It's almost as if the MDB is being made live before the supporting utility JAR file has been deployed.
Has anyone else seen this behaviour and know what I am doing wrong?
Thanks
Andy Bowes
java.lang.NoClassDefFoundError: uk/co/hpi/util/operations/InvalidAlertCodeException
at uk.co.hpi.realtimefeed.RealTimeFeedBackoutMDB.onMessage(RealTimeFeedBackoutMDB.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)