2 Replies Latest reply on May 26, 2003 4:50 AM by lyc1

    EJBException with walls between 2 EAR with distinct classloa

    lyc1

      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