-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1
-
None
When passing a javax.resource.ResourceException via RMI into the JBoss application server we get the following error message:
...
javax.resource.ResourceException; local class incompatible: stream classdesc serialVersionUID = 547071213627824490, local class serialVersionUID = 4770679801401540475
at net.fsc.jca.tutorial.SimpleOltpConnectBean.callService(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
...
When comparing class files, you can see, that JBoss 4.0.x doesn't use the same class file as is used in Sun's j2ee.jar (J2EE 1.4 reference implementation).
Both Sun Java System Application Server Platform Edition 8.1 2005Q1 and Oracle OC4J 10.1.3 use the same class file, which differes from the JBoss version. So I assume, that this is a JBoss related problem.
- relates to
-
JBAS-1579 Need to cleanup the serialVersionUIDs for Serializable/Externalizable classes
- Closed