[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

SaxonServlet

Subject: SaxonServlet
From: "Eamonn Neylon" <eneylon@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Feb 2002 13:11:51 -0000
saxonservlet
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.