WebLogic: java.io.InvalidClassException; local class incompatible
Problem:
The WebLogic Administration Server does not start with the following exception in stdout/stderr logs:
The WebLogic Server did not start up properly.
java.io.InvalidClassException: javax.management.MBeanAttributeInfo;
local class incompatible: stream classdesc serialVersionUID =7043852349133450673, local class serialVersionUID = 3875704819898565848
at java.io.ObjectStreamClass.initNonProxy
(Ljava.io.ObjectStreamClass;Ljava.lang.Class;Ljava.lang.ClassNotFoundException;
Ljava.io.ObjectStreamClass;)V(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Z)
.
.
.
.
Background & Analysis:
This problem occurred on an environment where WebLogic Server 8.1 was used with JRockit 1.5.
Solution:
Use JRockit/Hotspot 1.4.x with WebLogic 8.1
Root Cause:
WebLogic 8.1 is incompatible with JRockit/Hotspot JVM 1.5 and later versions.
NOTE:
(1) The solution above describes a successful problem-solving experience and may not be applicable to other problems with similar symptoms.
(2) Your rating of this post will be much appreciated. Also, feel free to leave comments.
Tagged with: java.io.InvalidClassException • local class incompatible • weblogic
Filed under: IT Support
Like this post? Subscribe to my RSS feed and get loads more!
Leave a Reply