I have Jboss3.0.2 bundled with Tomcat environment. I have a servlet ( in a WAR file ) which tries to communicate to an EBJ Session Bean within the same Jboss instance but in a seperate EAR file. When I run the servlet's functionallity that communicates to the bean I get an exception;
"java.rmi.ServerException: EJBException:; nested exception is:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging"
( Yes I am using the same version of the EJB classes to compile my servlet and include that EJB client jar with my servlet WAR file, as Jboss is using for the EJB )
If I configure my servlet to talk to another instance of JBoss running the same EAR file it works just fine.
Is there any special configuration necessary to allow the servlet to acess the EJB within the same Jboss instance? Why would the servlet work with external EJB instances and not Jboss internal EJB intances?
> Is there any special configuration necessary to allow
> the servlet to acess the EJB within the same Jboss
> Why would the servlet work with external
> EJB instances and not Jboss internal EJB intances?
Check that you're using correct libs one more time.. ?