Link to home
Create AccountLog in
Avatar of nbkd72e
nbkd72e

asked on

How to run WebLogic 8 in MyEclipse?

I was trying to start WebLogic 8.1 from MyEclipse, but it failed with the following errors. The WebLogic 8.1 installation was working fine when started with the script "startWebLogic.cmd". The problem seems to be caused by the version (1.5) of JVM MyEclipse uses to run the WebLogic. How to solve this problem?

<Jun 13, 2008 10:21:37 AM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_11-b03 from Sun Microsystems Inc.>
<Jun 13, 2008 10:21:38 AM CDT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Jun 13, 2008 10:21:38 AM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic XMLX Module 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358 >
***************************************************************************
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(Unknown Source)
        at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
        at java.io.ObjectInputStream.readClassDesc(Unknown Source)
        at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
        at java.io.ObjectInputStream.readClassDesc(Unknown Source)
        at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readArray(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
        at java.io.ObjectInputStream.readSerialData(Unknown Source)
        at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:274)
        at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:384)
        at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
        at weblogic.management.AdminServer.<init>(AdminServer.java:59)
        at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException:  - with nested exception:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]
        at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:279)
        at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:384)
        at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
        at weblogic.management.AdminServer.<init>(AdminServer.java:59)
        at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationError - with nested exception:
[weblogic.management.configuration.ConfigurationException:  - with nested exception:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]]
        at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:395)
        at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
        at weblogic.management.AdminServer.<init>(AdminServer.java:59)
        at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
        at weblogic.Server.main(Server.java:32)
***************************************************************************
ASKER CERTIFIED SOLUTION
Avatar of vsudip
vsudip
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Glad to help....thanks for grade..