Solved

How to run WebLogic 8 in MyEclipse?

Posted on 2008-06-13
2
423 Views
Last Modified: 2013-12-15
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)
***************************************************************************
0
Comment
Question by:nbkd72e
  • 2
2 Comments
 
LVL 8

Accepted Solution

by:
vsudip earned 500 total points
ID: 21780389
0
 
LVL 8

Expert Comment

by:vsudip
ID: 21780529
Glad to help....thanks for grade..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now