facebook

[Closed] Starting WebLogic Server through MyEclipse

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #251745 Reply

    kanika
    Member

    Hi
    I am trying to configure WebLogic 8.1 to start thru the MyEclipse IDE.
    while starting it, it gives the following error:

    <May 8, 2006 4:16:03 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0-b64 from Sun Microsystems Inc.>
    <May 8, 2006 4:16:04 PM IST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
    <May 8, 2006 4:16:04 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
    WebLogic XMLX Module 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973 >
    ***************************************************************************
    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(ObjectStreamClass.java:519)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
    at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:261)
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:366)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:129)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    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:266)
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:366)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:129)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    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:377)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:129)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    ***************************************************************************

    What could be the possible reason?

    #251770 Reply

    Riyad Kalla
    Member

    When you setup the JDK to start WebLogic with, did you use the JDK that ships with weblogic, or did you setup an external JDK? Always try and use the JDK that ships with your app server.

    #251788 Reply

    kanika
    Member

    @support-rkalla wrote:

    When you setup the JDK to start WebLogic with, did you use the JDK that ships with weblogic, or did you setup an external JDK? Always try and use the JDK that ships with your app server.

    I am using a PC on which everything was already installed by somebody else. So, i dont know whether they used external JDK or the one that comes with WebLogic. Cant i change it now & if yes, then how..?

    #251790 Reply

    Riyad Kalla
    Member

    Yes, just navigate to your Window > Preferences > MyEclipse > Application Servers > WebLogic 8 > JDK settings. From there, you can click add to add a new JDK, and when selecting it’s home directory, be sure to select the JDK that ships with WebLogic.

    If this PC was setup by someone else, are they still around to ask if that used to work?

    #251791 Reply

    kanika
    Member

    @support-rkalla wrote:

    Yes, just navigate to your Window > Preferences > MyEclipse > Application Servers > WebLogic 8 > JDK settings. From there, you can click add to add a new JDK, and when selecting it’s home directory, be sure to select the JDK that ships with WebLogic.

    If this PC was setup by someone else, are they still around to ask if that used to work?

    Hi Riyad
    i did exactly what u’ve just written..and the server has started working now. The error they commited was exactly what u predicted. They had used jdk1.5 instead of jdk1.4.2 that comes with WebLogic. Thanx a lot for ur timely help.

    #251812 Reply

    Riyad Kalla
    Member

    Glad to hear it.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed] Starting WebLogic Server through MyEclipse

You must be logged in to post in the forum log in