[jboss-user] [Messaging, JMS & JBossMQ] - No ClassLoaders found for: ClassLoading problem in JMS MDB s
avis1977
do-not-reply at jboss.com
Mon Jul 9 06:30:08 EDT 2007
Hi,
I have a bunch of In-Memory generated beans. (Using ASM to do a lot of the bean-generations)
These Beans are passed on to the MDB's as Object messages and at a point when I call myMessageObject.getObject() it fails with the exception which says
15:31:43,847 INFO [STDOUT] javax.jms.MessageFormatException: ClassNotFoundException: No ClassLoaders found for: com.xxx.yyy.zzz.SomeBean.
15:31:43,847 INFO [STDOUT] at org.jboss.mq.SpyObjectMessage.getObject(SpyObjectMessage.java:136)
If I try to see the result of Class.forName("com.xxx.yyy.zzz.SomeBean") before the line
myMessageObject.getObject() I can see that the Object gets loaded. (My Eclipse debugger shows me the Class)
I tried to debug it a little bit and am unable to proceed further. Seems like we call the Classes.loadClass(String name) that uses the current threads contextClassLoader().
Should it not be using one of the RepositoryClassLoaders???
Is this a bug Or a configuration mistake at my end.
The classes that are held in the MessageObject are generated in memory and were loaded by another ESB.
Please let me know if there any other information needed... I need some expert help on this one
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061895#4061895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061895
More information about the jboss-user
mailing list