0 Replies Latest reply on Jul 13, 2007 2:13 PM by SUNDARRAJAN SUYAMBOO

    Invalid invocation, check your deployment packaging

    SUNDARRAJAN SUYAMBOO Newbie

      Hi,
      I tried to access ejb which is in ejb module (jar) from web application (war). Both ejb and web application are packaged in same ear file. I was thrown with

      Caused by: javax.ejb.EJBException: Invalid invocation, check your deployment packaging.

      It looks like a issue with class loading , Can anyone explain how to resolve this?

      I could go for CallByValue= true in ear-deployer.xml.

      But as per documentation ,
      <
      The use of call by value and marshalling is very inefficient. It typically means method invocations take 10 times the cpu. Why? Compare Call By Value with Call By Reference
      >>

      Thanks
      Sundar