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)
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879950#3879950

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879950


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to