项目遇到问题总结-2

Posted on 2008-11-27 10:36 Robert Su 阅读(192) 评论(0)  编辑  收藏
由于项目要部署在weblogic上,装了一个weblogic来测试运行。
安装配置完之后提示

***************************************************************************
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:
562)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
1583)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:
1496)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
1583)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:
1496)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1329)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:
1667)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1323)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:
1947)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:
480)
    at javax.management.MBeanInfo.readObject(MBeanInfo.java:
669)
    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:
597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:
974)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:
1849)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
1753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
351)
    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)
***************************************************************************

折腾了半天发现是因为weblogic8.1只能对应JDK1.4
这个确实不如Tomcat方便





只有注册用户登录后才能发表评论。


网站导航:
 

posts - 103, comments - 104, trackbacks - 0, articles - 5

Copyright © Robert Su