Hello,
I
am currently using xerces-2.4.0 wihtout problems…
Regrds
marco
-----Original Message-----
From: Upinder_Bali
[mailto:[EMAIL PROTECTED]
Sent: 03 November 2004 10:05
To: [EMAIL PROTECTED]
Subject: [castor-user] 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.
**************************************************************************