1 Reply Latest reply: Jan 20, 2012 4:26 AM by Juan Manuel Barroso RSS

Remote EJB in JBOSS 4.0.5 from JBOSS 4.3

Juan Manuel Barroso Newbie

I'm trying to consume a EJB3 deployed in JBOSS server 4.0.5 from JBOSS 4.3, but I am getting the following error:

 

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bdProcedimientoEJBService': Invocation of init method failed; nested exception is javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181]

        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:295)

 

 

I'm trying to connect using JNDI. I tried using different compatibility settings such as -Dorg.jboss.j2ee.Serialization , -Dorg.jboss.j2ee.LegacySerialization , .. (http://community.jboss.org/wiki/JBossVersionCompatibilityMatrix) .. But It doesn't solve the problem.

 

Any idea how to solve this problem?

 

Thanks in advance