Jhonney的专栏

   ----人见人爱
随笔 - 49, 文章 - 1, 评论 - 23, 引用 - 0
数据加载中……

weblogic8.1 安装问题解决

 

最初刚配置时出现的错误及解决方法:
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就可以解决了

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的服务。关闭它即可。

posted on 2007-07-12 15:27 Jhonney 阅读(2667) 评论(0)  编辑  收藏


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


网站导航: