facebook

Pbm deploy Web Application to Weblogic Server 9.2

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #271463 Reply

    Michaelw
    Member

    Hi,
    I am using MyEclipse 5.5GA, JDK1.5_04. I deployed my Web Application in Tomcat 5.5 fine. However, when I deployed it in Weblogic Server 9.2, I got errors. How could
    I solve this problem? Thanks in advance for your help. Michaelw

    The following is the error message I am getting:

    There are 1 nested errors:

    weblogic.management.ManagementException: [Management:141266]Parsing Failure in config.xml: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940

    at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:122)

    at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:38)

    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:374)

    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:125)

    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:630)

    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:402)

    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)

    at weblogic.Server.main(Server.java:67)

    Caused by: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940

    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.readOrdinaryObject(Unknown Source)

    at java.io.ObjectInputStream.readObject0(Unknown Source)

    at java.io.ObjectInputStream.readObject(Unknown Source)

    at java.util.HashMap.readObject(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at java.io.ObjectStreamClass.invokeReadObject(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.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 java.util.HashMap.readObject(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at java.io.ObjectStreamClass.invokeReadObject(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.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 com.bea.staxb.buildtime.internal.bts.BindingFile.forSer(BindingFile.java:77)

    at com.bea.staxb.buildtime.internal.tylar.RuntimeTylar.getBindingFiles(RuntimeTylar.java:111)

    at com.bea.staxb.buildtime.internal.tylar.RuntimeTylar.getBindingLoader(RuntimeTylar.java:90)

    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:66)

    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:52)

    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)

    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)

    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)

    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)

    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)

    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)

    at weblogic.management.provider.internal.DescriptorManagerHelper.loadDescriptor(DescriptorManagerHelper.java:52)

    at weblogic.management.provider.internal.RuntimeAccessImpl$IOHelperImpl.parseXML(RuntimeAccessImpl.java:599)

    at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:230)

    at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:110)

    … 7 more

    #271473 Reply

    Loyal Water
    Member

    Seems like you have come across a known JDK bug. Please refer to this post :-
    https://www.genuitec.com/forums/topic/error-while-configuring-weblogic-9-2-with-myeclipse-5-1/

    #271551 Reply

    Michaelw
    Member

    Hi Nipun,
    Thanks for the quick response. I visited the link and at the end of the bug detail, this is
    what it said:

    [quote]
    Submitted On 08-MAR-2007
    From the bug description, the bug has been fixed in 5.0u7(b01) . Currently, I have download 5.0u11(b03) but my weblogic server9.2 still failed due to the reason as below:
    weblogic.management.ManagementException: [Management:141266]Parsing Failure in config.xml: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940
    at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:122)
    at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:38)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:374)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:125)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:630)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:67)

    Here is my JDK version
    java version “1.5.0_11”
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

    Any body could tell me why?

    Submitted On 04-MAY-2007
    chris-j-01 I had the same problem as the last person who submitted On 08-MAR-2007. I was using 1.5.0_10 with weblogic 9.2. I downgraded to 1.5.0_06 and it works.

    I am using Weblogic 9.2 with jdk1.5.0_06 and it is not working. Could it be Weblogic problem?

    Michaelw

    #271587 Reply

    Loyal Water
    Member

    Are you working with Xfire by any chance ? Also, I read on another forum that this issue was resolved in WebLogic 9.2 MP1. So you can try using that as well instead of WebLogic 9.2 base release

    Serial Version UID Mismatch (ISV Issue)

    A serial version UID mismatch is encountered when using Weblogic Server (9.0, 9.1, or the base release of 9.2) with HP Java 5.0.05 and later.

    Parsing Failure in config.xml: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940

    To workaround this problem, modify:
    <BEA_HOME>/Weblogic9x/common/bin/commEnv.sh file to include the following command:

    JAVA_OPTIONS=”$JAVA_OPTIONS -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0″

    Alternatively, you can use the command line option:

    export JAVA_OPTIONS=”$JAVA_OPTIONS -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0″

    This problem is fixed in Weblogic Server 9.2 MP1.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Pbm deploy Web Application to Weblogic Server 9.2

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