Hi,
We have made sure that only one Xerces jar  is loaded by one class loader only. Problem still persists.
Any clue?
 
Thanks
Upinder..

 
 ----Original Message-----
From: Werner Guttmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 03, 2004 4:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-user] XML MARSHALLING ISSUE

Hi,

I don't think that the version numbers of Castor/Xerces are an issue in your case. I'd rather investigate classloader issues, where e.g different versions of Xerces are loaded by different classloaders. In other words, make sure that Xerces is loaded by one and one classloader only.

Werner

--Original Message Text---
From: Upinder_Bali
Date: Wed, 3 Nov 2004 15:35:12 +0530

XML MARSHALLING ISSUE

Hi,
There is a typical problem being faced by us while marshalling of XML files.

We were using Castor - castor-0.9.4.1.jar & xerces-J_1.4.0 jar initially.
Till now we were using this version of Castor to only read existing XML files (having some business rule data) and there was no problem. Recently we developed another interface in our application to modify the

data in these XML files and then save the XML files using Castor. This is where we started getting the IncompatibleClassChangeError.

Even we tried with latest castor-0.9.5.3 but still we are facing the same problem.
We have tried with all possible combinations of castor and xerces versions.

Problem Details:
java.lang.IncompatibleClassChangeError
at org.exolab.castor.util.Configuration.getSerializer(Unknown Source)
at org.exolab.castor.xml.Marshaller.<init>(Unknown Source)
at com.gecs.apollo.wkst.helper.WksBrBOHelper.marshallXml(WksBrBOHelper.java:1063)
at com.gecs.apollo.wkst.helper.WksBrBOHelper.save(WksBrBOHelper.java:785)
at com.gecs.apollo.wkst.ejb.brmdbm.BrmdbmSessionFacade.save(BrmdbmSessionFacade.java:129)
at com.gecs.apollo.wkst.ejb.brmdbm.BrmdbmSessionFacade_p3s1b6_EOImpl.save(BrmdbmSessionFacade_p3s1b6_EOImpl.java:37)
at com.gecs.apollo.wkst.ejb.brmdbm.BrmdbmSessionFacade_p3s1b6_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166)
at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy245.save(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)

Can anybody suggest or knows what combination of castor & xerces versions one should use if this is really a version issue.

Thanks
Upinder...

**************************************************************************
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

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

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

This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

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

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to