I have 2 ears deployed in the same jboss instance (4.2.1) and one makes a remote call to
the other.
Both of these ears have isolated classloaders and contain the same entity bean jar.
(Entities are not deployed on this server, just used as detached.)
JBoss is configured to use call by value for this setup.
The second ear throws a classcastexception for my entity bean classes when servicing the
call from the first ear.
Is it possible the second ear method is using the same thread and therefore not retrieving
the correct class?
Putting the entity bean jar in the deploy directory and removing it from both ears fixes
the problem.
Any ideas on how to package these ears correctly?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094842#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...