Hi All,
 
We are using xmlbeans 2.4 in our project.
Java version = J2RE 1.4.2 and websphere 5.1
 
At runtime the xml doc gets created fine but when we use the xPath
functionality to edit the document, we get the following exception - 


javax.servlet.ServletException: Class javax/xml/transform/Source violates
loader constraints:  definition mismatch between parent and child loaders
[7/2/09 16:18:27:183 PDT]  f72606c SystemErr     R  at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:143)
[7/2/09 16:18:27:183 PDT]  f72606c SystemErr     R  at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[7/2/09 16:18:27:183 PDT]  f72606c SystemErr     R  at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[7/2/09 16:18:27:183 PDT]  f72606c SystemErr     R  at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)


The conflict comes possibly between axis which uses jaxrpc.jar and  xmlbeans
which uses saxon9.jar and saxon9-dom.jar for xpath and xQuery support.
We removed jaxrpc.jar and xmlbeans worked fine, but the existing
functionality that uses jaxrpc.jar breaks.
We also tried placing the xml beans related jars ahead in the class path. 
 
Does anyone have a solution to this?
Any pointers in this regard will be greatly appreciated.
 
Below are some of the jar files in the classpath of the project - 

xmlbeans-qname.jar
xbean_xpath.jar
xbean.jar
saxon9-dom.jar
saxon9.jar
LicensingData.jar
jsr173_1.0_api.jar
xmlpublic.jar
jstl.jar
tibjms.jar
tibjmsadmin.jar
tibjmsapps.jar
axis.jar
axis-ant.jar
jaxrpc.jar
saaj.jar
jakarta-oro.jar
commons-discovery.jar

Regards,
Nishanth Nair

-- 
View this message in context: 
http://www.nabble.com/Definition-mismatch-between-parent-and-child-loaders-exception-tp24346476p24346476.html
Sent from the Xml Beans - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org

Reply via email to