Solved

How to run WebLogic 8 in MyEclipse?

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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 tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

809 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