Hello Keshlam and evryone .....
I am having similar problem with the same servlet written to do the server side
XSL transformation .. I am using Websphere studio env .
Here is the exception i see after runnning ..
java.lang.VerifyError: (class: org/apache/xalan/templates/ElemCopyOf, method:
execute signature: (Lorg/apache/xalan/transformer/TransformerImpl;)V) Incompatible
object argument for method call
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:134)
at org.apache.xalan.processor.XSLTSchema.class$(XSLTSchema.java:69)
at org.apache.xalan.processor.XSLTSchema.build(XSLTSchema.java:310)
at org.apache.xalan.processor.XSLTSchema.<init>(XSLTSchema.java:77)
at
org.apache.xalan.processor.StylesheetHandler.<init>(StylesheetHandler.java:1251)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler(TransformerFactoryImpl.java:464)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:825)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
at com.dfc.util.XSLTranslation.doTranslationDFC(XSLTranslation.java)
at com.dfc.clickandclose.framework.Controller.sendResponseXML(Controller.java)
at com.dfc.clickandclose.framework.Controller.performTask(Controller.java)
at com.dfc.clickandclose.framework.Controller.doGet(Controller.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Does this hint anything to anyone here ..
The Jars i have set is as follows ...(some may not be related )
ibmjndi, ibmparser, jssl, mail, oracle, oreilly, poi, rowset, xalan, xerces, jaxp-api
Thanks ..
>>> [EMAIL PROTECTED] 06/27/02 04:01PM >>>
Could you tell us a bit more about what "it fails" means? Do you get an
exception, and if so which one and what's the stack trace? This _could_ be
a problem with your servelet's classloader not successfully retrieving
everything we need... or, if you aren't using the latest versions of Xalan,
with Xalan not remembering to attempt using the Context Class Loader for
absolutely everything.
(Please keep the discussion in the mailing list. More efficient to have
more minds working on it.)
______________________________________
Joe Kesselman / IBM Research