现象安装完:Weblogic8.1
运行WEBLOGIC出现: <2006-10-22 上午11时28分51秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_07-b03 from Sun Microsystems Inc.> <2006-10-22 上午11时28分52秒 CST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.> <2006-10-22 上午11时28分52秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 > *************************************************************************** The WebLogic Server did not start up properly. java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1551) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1465) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1551) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1465) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1917) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:261) at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:366) at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:128) at weblogic.management.AdminServer.<init>(AdminServer.java:59) at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245) at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342) at weblogic.Server.main(Server.java:32) --------------- nested within: ------------------ weblogic.management.configuration.ConfigurationException: - with nested exception: [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848] at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:266) at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:366) at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:128) at weblogic.management.AdminServer.<init>(AdminServer.java:59) at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245) at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342) at weblogic.Server.main(Server.java:32) --------------- nested within: ------------------ weblogic.management.configuration.ConfigurationError - with nested exception: [weblogic.management.configuration.ConfigurationException: - with nested exception: [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]] at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:377) at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:128) at weblogic.management.AdminServer.<init>(AdminServer.java:59) at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245) at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342) at weblogic.Server.main(Server.java:32) ***************************************************************************
原因调查: 本机的JDK版本: jdk142_13
但: weblogic8.1的BEA目录中JDK版本:jdk142_08
以上可见为JDK版本不同所致.都改为jdk142_08以下版本就OK了.