ibm aix 5.3 安装java sdk 5成功,但是启动weblogic server8.1失败?
我尝试在AIX 5.3.0-04下安转JDK 5 32 Bit,已经成功.
但是安装启动Weblogic 8.1.3 sp3的时候报错误信息:
CLASSPATH=/usr/java5/lib/tools.jar:/bea/weblogic81/server/lib/weblogic_sp.jar:/bea/weblogic81/server/lib/weblogic.jar::/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/usr/java5/jre/lib/rt.jar:/bea/weblogic81/server/lib/webservices.jar:
.
PATH=/bea/weblogic81/server/bin:/usr/java5/jre/bin:/usr/java5/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/bea/bin:/usr/bin/X11:/sbin:/usr/java5/bin:.
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
***************************************************
<May 13, 2008 6:14:13 PM GMT+08:00> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<May 13, 2008 6:14:22 PM GMT+08:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with IBM J9 VM Version 2.3 from IBM Corporation>
<May 13, 2008 6:14:23 PM GMT+08:00> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<May 13, 2008 6:14:23 PM GMT+08:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic XMLX Module 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973 >
***************************************************************************
The WebLogic Server did not start up properly.
java.lang.NoSuchFieldError: javax/management/loading/DefaultLoaderRepository.loaders
at com.sun.management.jmx.DefaultLoaderRepository.addClassLoader(DefaultLoaderRepository.java:3
at com.sun.management.jmx.MBeanServerImpl.initialize(MBeanServerImpl.java:2441)
at com.sun.management.jmx.MBeanServerImpl.<init>(MBeanServerImpl.java:113)
at weblogic.management.internal.RemoteMBeanServerImpl.<init>(RemoteMBeanServerImpl.java:104)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:242)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
at weblogic.Server.main(Server.java:32)
Reason: javax/management/loading/DefaultLoaderRepository.loaders
***************************************************************************
同样我在Windows下安装JDK1.5.0-04用它来启动Windows下的Weblogic 8.1.1 sp3也是报错:
CLASSPATH=C:JavaJDK15~1.0_0libtools.jar;C:beaWEBLOG~1serverlibweblogic_sp.jar;C:beaWEBLOG~1serverlibweblog
ic.jar;C:beaWEBLOG~1serverlibojdbc14.jar;C:beaWEBLOG~1commonevalpointbaselibpbserver44.jar;C:beaWEBLOG~1c
ommonevalpointbaselibpbclient44.jar;C:JavaJDK15~1.0_0jrelibrt.jar;C:beaWEBLOG~1serverlibwebservices.jar;
.
PATH=C:beaWEBLOG~1serverbin;C:JavaJDK15~1.0_0jrebin;C:JavaJDK15~1.0_0bin;F:oracleora92bin;C:j2sdk1.4.2_10
bin;C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem;C:Program FilesSecureCRT;C:PROGRA~1ULTRAE~1;E:gwt;F:bossnm
ctoolsant-1.6.5bin;c:progra~1VIAVOI~1;C:Program Fileswebsmbin;C:beaWEBLOG~1serverbinoci920_8
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\[hostname]:[port]console *
***************************************************
<2008-5-13 上午10时38分59秒 GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Cl
ient VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
<2008-5-13 上午10时39分00秒 GMT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the adm
inistration server.>
<2008-5-13 上午10时39分00秒 GMT> <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 serialVer
sionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:162
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
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:12
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 serialVe
rsionUID = 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:12
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 serialVe
rsionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]]
at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:377)
at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:12
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)
***************************************************************************
同样的Weblogic只要启动使用的jre改成1.4.2,AIX 5.3.0和Windows下均成功.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
weblogic8只支持JDK1.4
weblogic安装目录中有自带的JDK,请将启动weblogic域的用户的JAVA_HOME指向Weblogic安装目录中的JDK