This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
SaxonServlet
- From: "Eamonn Neylon" <eneylon at manifestsolutions dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 8 Feb 2002 13:11:51 -0000
- Subject: [xsl] SaxonServlet
- Reply-to: xsl-list at lists dot mulberrytech dot 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&style=books.xsl&
x=y
I get the message:
null
java.lang.NoSuchMethodError
at
com.icl.saxon.TransformerFactoryImpl.getStyleParser(TransformerFactoryImpl.j
ava:521)
at
com.icl.saxon.TransformerFactoryImpl.getSAXSource(TransformerFactoryImpl.jav
a:196)
at
com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.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/JRunSessionServic
e.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
at
allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatc
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/JRunSessionServic
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