首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

Weblogic8.1服务配置有关问题

2012-02-07 
Weblogic8.1服务配置问题系统安装配置如下:windows2003serveroracle10gjbuilder2006jdk1.6.0_06tomcat

Weblogic8.1服务配置问题
系统安装配置如下:windows2003server;oracle10g;jbuilder2006;jdk1.6.0_06;tomcat5.5.20。于近日开始准备学习、研究WebLogic,故下载安装了其8.1SP2版,从网上找到一篇文章《WEBLOGIC详细配置+》并按其中的“创建WEBLOGIC服务”部分进行了配置,其中指定JDK路径部分指向了jdk1.6.0_06的路径,其后的配置过程也没有什么问题。接下来执行“start server”的过程中却出现了如下问题:
.
CLASSPATH=G:\PROGRA~1\Java\JDK16~1.0_0\lib\tools.jar;G:\BEA_WE~1\WEBLOG~1\server
\lib\weblogic_sp.jar;G:\BEA_WE~1\WEBLOG~1\server\lib\weblogic.jar;G:\BEA_WE~1\WE
BLOG~1\server\lib\ojdbc14.jar;G:\BEA_WE~1\WEBLOG~1\common\eval\pointbase\lib\pbs
erver44.jar;G:\BEA_WE~1\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;G:\PRO
GRA~1\Java\JDK16~1.0_0\jre\lib\rt.jar;G:\BEA_WE~1\WEBLOG~1\server\lib\webservice
s.jar;.;G:\Program Files\Java\jdk1.6.0_06\src.zip;G:\Program Files\Java\jdk1.6.0
_06\lib\tools.jar;G:\Program Files\Java\jdk1.6.0_06\lib\jconsole.jar;G:\Program
Files\Java\jdk1.6.0_06\lib\htmlconverter.jar;G:\Program Files\Java\jdk1.6.0_06\l
ib\dt.jar;G:\Program Files\Java\jdk1.6.0_06\lib\msbase.jar;G:\Program Files\Java
\jdk1.6.0_06\lib\mssqlserver.jar;G:\Program Files\Java\jdk1.6.0_06\lib\msutil.ja
r;G:\Program Files\Java\jdk1.6.0_06\jre\lib\charsets.jar;G:\Program Files\Java\j
dk1.6.0_06\jre\lib\jsse.jar;G:\Program Files\Java\jdk1.6.0_06\jre\lib\rt.jar;G:\
Program Files\Java\jdk1.6.0_06\jre\lib\deploy.jar;G:\Program Files\Java\jdk1.6.0
_06\jre\lib\plugin.jar;G:\Program Files\Java\jdk1.6.0_06\jre\lib\jce.jar;G:\Prog
ram Files\Java\jdk1.6.0_06\jre\lib\javaws.jar;G:\Program Files\Java\jdk1.6.0_06\
jre\lib\management-agent.jar;G:\Program Files\Java\jdk1.6.0_06\jre\lib\resources
.jar;G:\Program Files\Java\jdk1.6.0_06\jre\lib\ext\sunpkcs11.jar;G:\Program File
s\Java\jdk1.6.0_06\jre\lib\ext\sunjce_provider.jar;G:\Program Files\Java\jdk1.6.
0_06\jre\lib\ext\localedata.jar;G:\Program Files\Java\jdk1.6.0_06\jre\lib\ext\dn
sns.jar;G:\Program Files\Java\jdk1.6.0_06\jre\lib\ext\sunmscapi.jar;G:\Program F
iles\Java\jdk1.6.0_06\jre\lib\im\thaiim.jar;G:\Program Files\Java\jdk1.6.0_06\jr
e\lib\im\indicim.jar;G:\Borland\JBuilder2006\thirdparty\jakarta-tomcat-5.5.9\com
mon\lib\servlet-api.jar;G:\oracle\product\10.2.0\db_shaoxc\jdbc\lib\classes12.ja
r;G:\oracle\product\10.2.0\db_shaoxc\jdbc\lib\ojdbc14.jar
.
PATH=G:\BEA_WE~1\WEBLOG~1\server\bin;G:\PROGRA~1\Java\JDK16~1.0_0\jre\bin;G:\PRO
GRA~1\Java\JDK16~1.0_0\bin;G:\oracle\product\10.2.0\db_shaoxc\bin;.;G:\Program F
iles\Java\jdk1.6.0_06\bin;G:\WINDOWS\system32;G:\WINDOWS;G:\WINDOWS\System32\Wbe
m;G:\Program Files\ATI Technologies\ATI Control Panel;G:\Program Files\Microsoft
 SQL Server\80\Tools\Binn\;G:\Program Files\Microsoft SQL Server\90\DTS\Binn\;G:
\Program Files\Microsoft SQL Server\90\Tools\binn\;G:\Program Files\Microsoft SQ
L Server\90\Tools\Binn\VSShell\Common7\IDE\;G:\Program Files\Microsoft Visual St
udio 8\Common7\IDE\PrivateAssemblies\;G:\BEA_WE~1\WEBLOG~1\server\bin\oci920_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-11-5 下午05时34分48秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b22 from Sun Micros
ystems Inc.>
<2008-11-5 下午05时34分48秒 CST> <Info> <Configuration Management> <BEA-150016>
<This server is being started as the administration server.>
<2008-11-5 下午05时34分48秒 CST> <Info> <Management> <BEA-141107> <Version: WebL
ogic 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 serialVersionUID = 7043855487133450673, local cla
ss serialVersionUID = 8644704819898565848
  at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
  at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:158
3)
  at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:158
3)
  at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
732)
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
47)
  at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:48
0)
  at javax.management.MBeanInfo.readObject(MBeanInfo.java:669)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974
)
  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
753)
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.jav
a:261)
  at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(Ty
pesHelper.java:366)
  at weblogic.management.internal.ConfigurationMBeanImpl.<init>(Configurat
ionMBeanImpl.java:128)
  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 excepti
on:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
 incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
ass serialVersionUID = 8644704819898565848]
  at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.jav
a:266)
  at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(Ty
pesHelper.java:366)
  at weblogic.management.internal.ConfigurationMBeanImpl.<init>(Configurat
ionMBeanImpl.java:128)
  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)


[解决办法]
WLS8不支持JDK6,你用jdk4,classpath也要用jdk4的,可以用jdk1。42
[解决办法]
你学习开发用的话,最好就用BEA WebLogic安装时自带的Rocket JDK好了,省力省时,而且在X86平台上面速度快。

热点排行