Hello Bruce,
We are using this version of the Castor - castor-0.9.4.1.jar.
This was downloaded a few months ago. 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 thie IncompatibleClassChangeError.
thanks
Naveen
-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 19, 2003 3:16 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Getting IncompatibleClassChangeError
This one time, at band camp, Naveen_JaiDayal said:
N>I am getting this IncompatibleClassChangeError while Marshalling (saving)
N>the XML. I tried various things by modifying the classpath but this is still
N>coming. Request you to help me as this a show-stopper problem for me.
N>
N>java.lang.IncompatibleClassChangeError
N> at org.exolab.castor.util.Configuration.getSerializer(Unknown
N>Source)
N> at org.exolab.castor.xml.Marshaller.<init>(Unknown Source)
N> at
N>com.gecs.apollo.common.businessrules.BusinessRuleHelper.marshallXml(Business
N>RuleHelper.java:151)
N> at
N>com.gecs.apollo.common.brmaintenance.policy.BusinessRuleMaintenancePolicy.sa
N>ve(BusinessRuleMaintenancePolicy.java:1
N>25)
N> at
N>com.gecs.apollo.common.brmaintenance.sessionfacade.BusinessRuleMaintenanceSe
N>ssionFacade.save(BusinessRuleMaintenanc
N>eSessionFacade.java:93)
N> at
N>com.gecs.apollo.common.brmaintenance.sessionfacade.BusinessRuleMaintenanceSe
N>ssionFacade_7i6qh5_EOImpl.save(Business
N>RuleMaintenanceSessionFacade_7i6qh5_EOImpl.java:81)
N> at
N>com.gecs.apollo.common.brmaintenance.sessionfacade.BusinessRuleMaintenanceSe
N>ssionFacade_7i6qh5_EOImpl_WLSkel.invoke
N>(Unknown Source)
N> at
N>weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
N> at
N>weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
N>:93)
N> at
N>weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
N> at
N>weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166)
N> at
N>weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
N> at
N>weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
N> at
N>weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
N>:262)
N> at
N>weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
N>:229)
N> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
N> at $Proxy237.save(Unknown Source)
Naveen,
Based on previous users who've had this problem, the problem tends
to be caused by not having all the jars that Castor requires in the
CLASSPATH. Which package of Castor did you download from this page:
http://www.castor.org/download.html
Or did you grab Castor from CVS? The reason I ask these questions is
because there may be differences between the various offerings. If we
do find that there are differences, they need to be addressed ASAP.
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://incubator.apache.org/projects/geronimo.html
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
**************************************************************************
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.
**************************************************************************
