I have the same problem.
I am using CallByValue=false and Isolated=true.
I have added correctly the ejb-ref into the jboss.xml and ejb-jar.xml, and in my company we are using Jboss As 4.2 cp07.
I can succesfully lookup the EJB, but I get this exception:
Invalid invocation, check your deployment packaging, method=public abstract
when I do the create.
Can you help me?
I came to the conclusion that it's not possible to use CallByReference between 2 ears with classloader isolation. You have to enable CallByValue, this makes class translation between classloaders possible through the use of Java serialization.
See this: http://www.jboss.org/community/wiki/classloadingconfiguration.
I tried both options suggested in this article. I was able to make it work only with CallByValue=true in EARDeployer though... The other option failed with the familiar:
Invalid invocation, check your deployment packagingmessage.