This content has been marked as final.
Show 2 replies
-
2. Re: EJBException with walls between 2 EAR with distinct clas
lyc1 May 26, 2003 4:50 AM (in response to lyc1)Ok, thanks
I missed this thread
Hello
I'm using 2 EAR with distinct classloader (i configured it in each jboss-app.xml files).
These EAR (A and B) contain several ejb each (A contains X, B contains Y).
These ejb have only remote access available.
If i deploy these 2 ears on 2 distinct servers, i can call ejb Y from ear A and ejb X from ear B without any problems ("cross calls").
But if I deploy those 2 ears on the same server, "cross calls" don't work any more.
I get the following exception :
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract paht.to.my.ejbHome.create() throws java.rmi.RemoteException,javax.ejb.CreateException
I know I should use local access for my ejbs, but performance is not essential now.
How to solve this problem ?
Thanks for your help
Ok, thanks
I missed this thread