My Oracle Support Banner

java.io.InvalidClassException: oracle.as.j2ee.transaction.tpc.NormalXid; local class incompatible Exception During RMI Communication (Doc ID 1529306.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 10.1.3.1.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.

Symptoms

The following error occurs during RMI communication.:

  Caused by: oracle.oc4j.rmi.OracleRemoteException:
Invocation error: java.io.InvalidClassException: oracle.as.j2ee.transaction.tpc.NormalXid;
local class incompatible: stream classdesc serialVersionUID = <UID>,
local class serialVersionUID = <UID>;
nested exception is:
java.io.InvalidClassException: oracle.as.j2ee.transaction.tpc.NormalXid; local class incompatible: stream classdesc serialVersionUID = <UID>, local class serialVersionUID = <UID>
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:139)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at __Proxy3.rollback(Unknown Source)
at com.evermind.server.SubordinateXAResourceAdapter.rollback(SubordinateXAResourceAdapter.java:88)
... 40 more
Caused by: java.io.InvalidClassException: oracle.as.j2ee.transaction.tpc.NormalXid; local class incompatible: stream classdesc serialVersionUID = <UID>, local class serialVersionUID = <UID>
at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
... 45 more

Changes

 The client or the server may have been upgraded, so it has new OC4J RMI libraries.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.