This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: SaxonServlet
- From: "Eamonn Neylon" <eneylon at manifestsolutions dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 8 Feb 2002 14:12:19 -0000
- Subject: RE: [xsl] SaxonServlet
- Reply-to: xsl-list at lists dot mulberrytech dot com
Mike
>>This problem is caused because you have an implementation of JAXP 1.0 on
>>your classpath, ahead of the JAXP 1.1 code. Find it and remove it, or move
>>Saxon to the front of the classpath.
I had already tried this before I sent the message to the list, but to no
avail. I have no problem running Saxon from the command line on the same
machine, so thinking about it I guess it's a servlet issue rather than
something for this list - sorry about that.
Eamonn
Eamonn Neylon
Manifest Solutions
John Eccles House, Oxford Science Park
Oxford, OX4 4GP, United Kingdom
T: +44 1865 338033; F: +44 1865 338100
http://www.manifestsolutions.com/
> Hi ListMembers
>
> I hope this isn't off-topic. I've got a problem running SaxonServlet
> (distributed with Saxon) and am wondering if anyone here
> knows how to fix
> it. When I call:
>
> http://127.0.0.1:8100/servlet/SaxonServlet?source=books.xml&st
> yle=books.xsl&
> x=y
>
> I get the message:
>
> null
> java.lang.NoSuchMethodError
> at
> com.icl.saxon.TransformerFactoryImpl.getStyleParser(Transforme
> rFactoryImpl.j
> ava:521)
> at
> com.icl.saxon.TransformerFactoryImpl.getSAXSource(TransformerF
> actoryImpl.jav
> a:196)
> at
> com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerF
> actoryImpl.jav
> a:126)
> at SaxonServlet.tryCache(SaxonServlet.java:126)
> at SaxonServlet.apply(SaxonServlet.java:79)
> at SaxonServlet.service(SaxonServlet.java:44)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
> at
> allaire.jrun.session.JRunSessionService.service(../session/JRu
> nSessionServic
> e.java:1082)
> at
> allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
> at
> allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JR
> unNamedDispatc
> her.java:39)
> at
> allaire.jrun.servlet.Invoker.service(../servlet/Invoker.java:84)
> at
> allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
> at
> allaire.jrun.session.JRunSessionService.service(../session/JRu
> nSessionServic
> e.java:1082)
> at
> allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/
> JRunRequestDis
> patcher.java:89)
> at
> allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
> at
> allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
> at
> allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext
> .java:364)
> at
> allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
> at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
> at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
>
> I've seached using google and seen the suggestion
> (http://www.geocrawler.com/archives/3/13378/2001/7/50/6102443/
) to move
Saxon to the start of the classpath (which I have done but that doesn't fix
the problem) The servlet seems to be working OK if I use:
http://127.0.0.1:8100/servlet/SaxonServlet?clear-stylesheet-cache=yes
when it returns:
No style parameter supplied
Which would imply that it hasn't loaded anything into cache yet.
Thanks for any insights you may have.
Eamonn
Eamonn Neylon
Manifest Solutions
John Eccles House, Oxford Science Park
Oxford, OX4 4GP, United Kingdom
T: +44 1865 338033; F: +44 1865 338100
http://www.manifestsolutions.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list