WebLogic Server did not start up properly.的解决办法

 WebLogic Server did not start up properly.的解决办法
2010-06-13 09:37

最初刚配置时出现的错误及解决方法:
1.启动时出现如下错误
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: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:1628)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)<2006-12-6 下午05时39分36秒 CST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<2006-12-6 下午05时39分36秒 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 >

原因有二:
一是配置weblogic时用了jdk1.5,改成weblogic自带的jdk1.4就可以了
二是 weblogic创建的domain用的JDK版本 和Myeclipse Server中weblogic JDK配置的版本不一样,改为一样就可以了。
这是Myeclipse Server中weblogic JDK配置的版本

这是weblogic创建的domain用的JDK版本,两者要一样





2.启动时出现如下错误
*************************************************************************The WebLogic Server did not start up properly.
Exception raised: 'weblogic.management.configuration.ConfigurationException: Unable to locate server named myServer in the configuration file config.xml. Please ensure the argument -Dweblogic.Name=<serverName> matches a server name in that file, for example: <Server ... Name="someName"/>.A single server was found namedmyserver'
Reason: weblogic.management.configuration.ConfigurationException: Unable to locate server named myServer in the configuration file config.xml. Please ensure the argument -Dweblogic.Name=<serverName> matches a server name in that file, for example: <Server ... Name="someName"/>.A single server was found namedmyserver
*************************************************************************
原因是配置weblogic信息时的内容跟你的D:\bea\user_projects\domains\mydomain\
config.xml文件里的内容不一致包括大小写,改过来就行了
主要是domain name和server name 如下是mydomain
myserver
<Domain ConfigurationVersion="8.1.2.0" Name="mydomain">
    <Server ListenAddress="localhost" ListenPort="7001" Name="myserver"

3、出现如下错误:

*************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port. See preceeding log message for details.'
Reason: Server failed to bind to the requested port. See preceeding log message for details.
*************************************************************************

原因是默认的7001端口被占用,因为在此之前开过另一个domain的服务。关闭它即可。
http://www.blogjava.net/Jhonney/archive/2007/07/12/129851.html

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值