facebook

Getting error while starting weblogic with JDK 1.5 [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    ratan
    Member

    Hi
    I am trying to integrate Weblogic 8 with MyEclipse, but the server is not starting up after deloying the web application within the IDE. Following is the configuration:

    Operating System and version: Windows xp professional
    Eclipse Version: 3.1.0
    Build id: I20050627-1435
    Fresh Eclipse install (y/n): Y

    Other installed external plugins: None
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 4.0.0
    Build Id- 20050829-4.0.0-GA
    Eclipse JDK version: 1.5.0_03
    Application Server JDK version: 1.5.0_03

    BEA Home Directory: D:\bea
    Weblogic installation directory: D:\bea\weblogic81
    nAdmin username: weblogic
    Admin password: weblogic
    Execution domain root: D:\bea\user_projects\domains
    Execution domain name: Ratandomain
    Execution server name: myserver
    Hostnumber:Portnumber: localhost:7001
    Security policy: D:\bea\weblogic81\server\lib\weblogic.policy

    Following exceptions is seen on the console
    Any suggession to resolve this issue ?

    Thanks
    Ratan

    <Sep 4, 2005 9:42:59 PM GMT+05:30> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic

    Server with Java HotSpot(TM) Client VM Version 1.5.0_03-b07 from Sun Microsystems Inc.>
    ***************************************************************************
    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)<Sep 4, 2005

    9:42:59 PM GMT+05:30> <Info> <Configuration Management> <BEA-150016> <This server is being

    started as the administration server.>
    <Sep 4, 2005 9:42:59 PM GMT+05:30> <Info> <Management> <BEA-141107> <Version: WebLogic

    Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009
    WebLogic XMLX Module 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009>

    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:128)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
    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:128)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
    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:128)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
    at weblogic.Server.main(Server.java:32)
    ***************************************************************************

    #236589

    Scott Anderson
    Participant

    This issue is likely that you’re running WLS 8.1 on JDK 1.5 and it’s not certified for that release of the JDK. You’ll need to reconfigure Window > Preferences > MyEclipse > WebLogic 8.1 > JDK to point to either the 1.4.2 JDK shipped with WebLogic or another 1.4.2 JDK on your system. Additionally, you’ll need to set the compiler used for the project you’re trying to compile to 1.4.2, rather than 1.5 as well so the generated object code can be understood by the 1.4.2 JDK running WebLogic.

    #236621

    ratan
    Member

    Hi
    I pointed weblogic JDK to the 1.4.2 JDK, shipped with WebLogic and it worked !!!

    Thanks for your reply
    Regards.
    Ratan

    #236623

    Scott Anderson
    Participant

    Ratan,

    Glad to help! Now, while you’re all happy and success is fresh on your mind, how about doing us a huge favor and voting for MyEclipse in the JDJ Reader’s Choice Awards? The link’s on the left and we’d really appreciate it. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Getting error while starting weblogic with JDK 1.5 [Closed]

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