[jboss-user] [JBoss Messaging] - ClassLoader issue with MDB in multiple ear
Fitz
do-not-reply at jboss.com
Fri Sep 19 11:22:10 EDT 2008
Hi,
I'm using JBoss 4.2.3 GA and Jboss Messaging 1.4 GA
2 ear are deployed in Jboss:
1st ear:
* create object messages on custom topic. These ObjectMessage contain my own messages types.
* consum messages using MDB technologie.
2nd ear (deployed as a plugin):
* only consum messages using MDB
* contains an APi of the 1st ear classes
<attribute name="Isolated">true</attribute>
| <attribute name="CallByValue">true</attribute>
Isolation is wanted.
A problem appears in my 2nd ear:
Transported message mypackage.impl.MyMessage cannot be cast into mypackage.interface.Message.
If I set :
<attribute name="Isolated">true</attribute>
| <attribute name="CallByValue">false</attribute>
Same problem appears into 1st ear too!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177705#4177705
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177705
More information about the jboss-user
mailing list