Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 serialVersionUID problem

closed-fixed
nobody
5
2003-03-21
2003-03-17
Jeff Drost
No

******************************************************************
*********
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationError -
with nested exception:
[weblogic.management.configuration.ConfigurationExcept
ion: - with nested exception:
[java.io.InvalidClassException:
weblogic.management.tools.AttributeInfo; Local class
not compatible: stream classdesc
serialVersionUID=1876948055092590334 local clas
java.io.InvalidClassException:
weblogic.management.tools.AttributeInfo; Local class
not compatible: stream classdesc
serialVersionUID=1876948055092590334 local class
at java.io.ObjectStreamClass.validateLocalClass
(ObjectStreamClass.java:523)
at java.io.ObjectStreamClass.setClass
(ObjectStreamClass.java:567)
at java.io.ObjectInputStream.inputClassDescriptor
(ObjectInputStream.java:936)
at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject
(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputArray
(ObjectInputStream.java:1142)
at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:374)
at java.io.ObjectInputStream.inputClassFields
(ObjectInputStream.java:2263)
at java.io.ObjectInputStream.defaultReadObject
(ObjectInputStream.java:519)
at java.io.ObjectInputStream.inputObject
(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:236)
at
weblogic.management.internal.Helper.__shiftone_JRAT_
getMBeanInfo(Helper.java:204)
at
weblogic.management.internal.Helper.getMBeanInfo
(Helper.java)
at
weblogic.management.internal.Helper.__shiftone_JRAT_
getAdminOrConfigMBeanInfo(Helper.java:106)
at
weblogic.management.internal.Helper.getAdminOrConfig
MBeanInfo(Helper.java)
at
weblogic.management.internal.ConfigurationMBeanImpl.
<init>(ConfigurationMBeanImpl.java:103)
at weblogic.management.AdminServer.<init>
(AdminServer.java:110)
at
weblogic.management.Admin.__shiftone_JRAT_initialize
(Admin.java:216)
at weblogic.management.Admin.initialize
(Admin.java)
at
weblogic.t3.srvr.T3Srvr.__shiftone_JRAT_initialize
(T3Srvr.java:354)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java)
at weblogic.t3.srvr.T3Srvr.__shiftone_JRAT_run
(T3Srvr.java:197)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java)
at weblogic.Server.__shiftone_JRAT_main
(Server.java:35)
at weblogic.Server.main(Server.java)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationExcepti
on: - with nested exception:
[java.io.InvalidClassException:
weblogic.management.tools.AttributeInfo; Local class
not compatible: stream classdesc
serialVersionUID=1876948055092590334 local clas
at
weblogic.management.internal.Helper.__shiftone_JRAT_
getMBeanInfo(Helper.java:209)
at
weblogic.management.internal.Helper.getMBeanInfo
(Helper.java)
at
weblogic.management.internal.Helper.__shiftone_JRAT_
getAdminOrConfigMBeanInfo(Helper.java:106)
at
weblogic.management.internal.Helper.getAdminOrConfig
MBeanInfo(Helper.java)
at
weblogic.management.internal.ConfigurationMBeanImpl.
<init>(ConfigurationMBeanImpl.java:103)
at weblogic.management.AdminServer.<init>
(AdminServer.java:110)
at
weblogic.management.Admin.__shiftone_JRAT_initialize
(Admin.java:216)
at weblogic.management.Admin.initialize
(Admin.java)
at
weblogic.t3.srvr.T3Srvr.__shiftone_JRAT_initialize
(T3Srvr.java:354)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java)
at weblogic.t3.srvr.T3Srvr.__shiftone_JRAT_run
(T3Srvr.java:197)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java)
at weblogic.Server.__shiftone_JRAT_main
(Server.java:35)
at weblogic.Server.main(Server.java)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationError -
with nested exception:
[weblogic.management.configuration.ConfigurationExcept
ion: - with nested exception:
[java.io.InvalidClassException:
weblogic.management.tools.AttributeInfo; Local class
not compatible: stream classdesc
serialVersionUID=1876948055092590334 local clas
at
weblogic.management.internal.Helper.__shiftone_JRAT_
getAdminOrConfigMBeanInfo(Helper.java:119)
at
weblogic.management.internal.Helper.getAdminOrConfig
MBeanInfo(Helper.java)
at
weblogic.management.internal.ConfigurationMBeanImpl.
<init>(ConfigurationMBeanImpl.java:103)
at weblogic.management.AdminServer.<init>
(AdminServer.java:110)
at
weblogic.management.Admin.__shiftone_JRAT_initialize
(Admin.java:216)
at weblogic.management.Admin.initialize
(Admin.java)
at
weblogic.t3.srvr.T3Srvr.__shiftone_JRAT_initialize
(T3Srvr.java:354)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java)
at weblogic.t3.srvr.T3Srvr.__shiftone_JRAT_run
(T3Srvr.java:197)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java)
at weblogic.Server.__shiftone_JRAT_main
(Server.java:35)
at weblogic.Server.main(Server.java)
Reason: Fatal initialization exception
******************************************************************
*********

D:\bea\wlserver6.1\config\mydomain>

Discussion

  • Jeff Drost
    Jeff Drost
    2003-03-21

    • status: open --> closed
     
  • Jeff Drost
    Jeff Drost
    2003-03-21

    Logged In: YES
    user_id=348597

    calculating serialVersionUID for all classes that don't have
    them and adding the field to the class

     
  • Jeff Drost
    Jeff Drost
    2003-03-21

    • status: closed --> closed-fixed