Mantis - Resin
Viewing Issue Advanced Details
3779 minor always 11-21-09 00:28 01-07-10 10:56
nam  
ferg  
normal  
closed 4.0.1  
fixed  
none    
none 4.0.4  
0003779: resin's EJBException serialVersionUID differs from jboss and sun
(rep by C. Yttesen)

Our EJB business logic is running on jboss-eap-4.3.0.GA_CP04

On a server-side exception an ?javax.ejb.EJBException is thrown?
to the client webapp (running inside Resin) ? this results in the
following exception:

Caused by: java.rmi.MarshalException: Failed to communicate.
Problem during marshalling/unmarshalling; nested exception is:

java.io <http://java.io.In>.InvalidClassException: [^]
javax.ejb.EJBException; local class incompatible: stream classdesc
serialVersionUID = *796770993296843510*, local class serialVersionUID = *-1912964672624085534*

Doing a ?serialver? using ?resin/lib/javaee-16.jar? on ?javax.ejb.EJBException? reveals:

javax.ejb.EJBException: static final long serialVersionUID = -1912964672624085534L;

Doing the same in jboss? jar file as well on a fresh download of javaee.jar from SUNs website reveals:

javax.ejb.EJBException: static final long serialVersionUID =
796770993296843510L;

There are no notes attached to this issue.