[jboss-dev-forums] [JBoss AS 7 Development] - Re: JMS module (HornetQ) can't find my class from WAR
jaikiran pai
do-not-reply at jboss.com
Wed Nov 23 06:38:35 EST 2011
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: JMS module (HornetQ) can't find my class from WAR"
To view the discussion, visit: http://community.jboss.org/message/637914#637914
--------------------------------------------------------------
I believe Daniel already has figured out the real issue. i.e. the classes in the .war are isolated (as per spec) and aren't visible to the MDB (which is in a separate EJB deployment even though the same .ear).
But a side issue here is that the exception stacktrace is misleading (unless one goes and looks into the ObjectInputStream code). That stacktrace gives an impression that it is using a wrong module to load the object's class but doesn't give any indication that it's using that as a fallback mechanism because it failed to resolve that on the first attempt while using the (correct) deployment classloader.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/637914#637914]
Start a new discussion in JBoss AS 7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111123/3c95bbaf/attachment.html
More information about the jboss-dev-forums
mailing list