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

最初刚配置时出现的错误及解决方法:
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配置的版本
The WebLogic Server did not start up properly.的解决办法_第1张图片
这是weblogic创建的domain用的JDK版本,两者要一样
The WebLogic Server did not start up properly.的解决办法_第2张图片




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

你可能感兴趣的:(java,weblogic,server)