facebook

How to configure weblogic server in MyEclipseIDE?

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #290096 Reply

    navin4ru
    Member

    Hi,
    How to configure weblogic server in MyEclipseIDE?
    In that what is policy file?
    Regards,
    Naveen.

    #290107 Reply

    Loyal Water
    Member

    Naveen,
    You will have to go to Windows > Prefs > MyEclipse > Servers > Web Logic and configure the WebLogic connector to look like this (I’m assuming your working on WebLogic 10):-
    https://www.genuitec.com/forums/topic/weblogic-10-what-does-a-configured-connector-look-like/

    #291317 Reply

    navin4ru
    Member

    Hi Nipun,

    Thanks for your reponse.
    I’m using Weblogic 7.0 and trying to configure in MyEclipse 5.1.0
    I’m getting the following error can you resolve this error.
    Awaiting for your reply,

    Starting WebLogic Server…
    <Nov 20, 2008 1:24:24 PM GMT+05:30> <Warning> <Management> <141091> <-Dweblogic.Domain=<domainName> is no longer a required command line option, if you do not pass it in the domain name can be be inferred from the configuration file : config.xml>
    ***************************************************************************
    The WebLogic Server did not start up properly.
    Exception raised:
    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.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.Helper.getMBeanInfo(Helper.java:245)
    at weblogic.management.internal.Helper.getAdminOrConfigMBeanInfo(Helper.java:136)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:113)
    at weblogic.management.AdminServer.<init>(AdminServer.java:134)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
    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.Helper.getMBeanInfo(Helper.java:250)
    at weblogic.management.internal.Helper.getAdminOrConfigMBeanInfo(Helper.java:136)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:113)
    at weblogic.management.AdminServer.<init>(AdminServer.java:134)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
    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.Helper.getAdminOrConfigMBeanInfo(Helper.java:149)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:113)
    at weblogic.management.AdminServer.<init>(AdminServer.java:134)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: 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]]
    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.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.Helper.getMBeanInfo(Helper.java:245)
    at weblogic.management.internal.Helper.getAdminOrConfigMBeanInfo(Helper.java:136)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:113)
    at weblogic.management.AdminServer.<init>(AdminServer.java:134)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
    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.Helper.getMBeanInfo(Helper.java:250)
    at weblogic.management.internal.Helper.getAdminOrConfigMBeanInfo(Helper.java:136)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:113)
    at weblogic.management.AdminServer.<init>(AdminServer.java:134)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
    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.Helper.getAdminOrConfigMBeanInfo(Helper.java:149)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:113)
    at weblogic.management.AdminServer.<init>(AdminServer.java:134)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
    at weblogic.Server.main(Server.java:32)

    ***************************************************************************

    Regards,
    Naveen.

    #291334 Reply

    Naveen,

    The error seems to indicate the usage of a different JVM than whats needed to run the server.
    Could you please provide us some additional information on what your system configuration looks like, specifically the JDK that you are using to launch the server and the OS that you are using?

    Also, can you take a look at this http://edocs.bea.com/platform/suppconfigs/configs70/70_over/overview.html#1084689 and check if your system configuration is different than what’s supported?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to configure weblogic server in MyEclipseIDE?

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