Forgot to mention that the exception is raised during transformation
i.e. 
XSLTransform.transform(xmlDOM,inStream,foDom);

Thanks again
Sid

-----Original Message-----
From: Sharma, Siddharth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: Fop and batik

Hi and sorry for cross-posting as I know this is a user question.
I am newbie with FOP on Websphere 4.0.3. Batik has some DOM classes, which
are present in Xerces as well, with different implementations.
This leads to a number of problems, the latest being the stacktrace below.

I am creating the input DOM tree at runtime based on user input and
transforming it using
XSLTransform.transform(xmlDOM,inStream,foDom);

And then generating the PDF using
Driver driver = new Driver(insource, bytePDF);
driver.setRenderer(Driver.RENDER_PDF);
driver.run();

has anyone faced this problem of same class-multiple implementations in the
two libraries (if that is the problem).
Can anyone help?
Sid




java.lang.reflect.InvocationTargetException: java.lang.LinkageError:
Class org/w3c/dom/Node violates loader constraints: definition
mismatch between parent and child loaders
    at
org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:87)
    at java.lang.reflect.Method.invoke(Native Method)
    at
org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76)
    at
org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:63)
    at
com.fidelity.qdro.common.util.PDFGeneratorImpl.getPDF(PDFGeneratorImpl.java:
98)
    at
com.fidelity.qdro.common.business.QDROProcessorImpl.saveQDRO(QDROProcessorIm
pl.java:475)
    at
com.fidelity.qdro.formgen.controllers.FormGenFinal.doProcess(FormGenFinal.ja
va:67)
    at
com.fidelity.qdro.formgen.controllers.InternetBaseController.doPost(Internet
BaseController.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
    at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
    at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
    at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
    at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
    at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
    at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
    at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:665)
    at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:331)
    at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:117)
    at
com.ibm.servlet.engine.webapp.InvokerServlet.service(InvokerServlet.java:267
)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
    at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
    at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
    at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
    at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
    at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
    at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
    at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:665)
    at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:331)
    at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:117)
    at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:124)
    at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:218)
    at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
    at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:122)
    at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
    at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
    at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Comp
iled
Code))
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled
Code))
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to