eclipse 配置weblogic服务器

我刚配置时出现的错误及解决方法:
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信息时的内容跟你的F:\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"

posted on 2006-12-06 17:47 JGAO编程随笔 阅读(1245) 评论(0)  编辑  收藏


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


网站导航:
 
<2006年12月>
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

导航

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜