Invalid packaging for the servlet 2.3 default class loading model resulting in the ejb classes being loaded by multiple class loaders. See the release notes on the class loading change.
I also had the same problem.. Try the following 3 steps:
1] Edit conf/jboss-service.xml and make CallByValue as 'true' in NamingService as below
2] Edit deploy/ear-deployer.xml, and set Isloated and CallByValue as true
3]Edit deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml , and set Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false
See it it works now..
Thanks for the help. I am going to stick with 4.0.1 for now and try 4.0.3 when it comes out.
I'm having a similar problem, but it is limited to calling the create method on a LocalHome of a Stateless Session Bean. I'm running JBoss AS 4.0.2 and I have set the class loading as described in the class loading section of the manual. (Couldn't even cast the home without correcting that.) I can use the Remote Stubs and call my Session Bean with no problem, but switching to use the Local Stubs causes the "Invalid invocation, check deployment packaging" error.