Solved

How to run WebLogic 8 in MyEclipse?

Posted on 2008-06-13
2
422 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

705 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

20 Experts available now in Live!

Get 1:1 Help Now