Pass-Thru Servlet and XSL

Hi,

I?m trying to to apply a stylesheet to the result of a Tamino query.
But query like this
http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter/tamino/database/collection?_xql=Article&_xslsrc=xsl:stylesheet/stylesheet.xsl
doesn?t work.

I recieve the following message:
Internal Server Error

This query works without _ xslsrc parameter:
http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter/tamino/database/collection?_xql=Article

I can also retrieve a stylesheet from the database:
http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter/tamino/database/collection/xsl:stylesheet/stylesheet.xsl

Can someone tell me what might be wrong here?

try expanding localhost
to the full name of the machine

mycomputer.mycompany.com

or the IP address

it doesn’t work with the IP address and the full name of the machine :confused:

GG,

is there any more information in the Servlet Engine’s log file(s), or only “Internal Server Error” ?

Thanks,
Trevor

Hi,

there is some more information in the Servlet Engine’s log file:

(ERROR)ajp12: Servlet Error: java.lang.NoClassDefFoundError: com/jclark/xml/sax/Driver: com/jclark/xml/sax/Driver
(ERROR)an error returned handling request via protocol “ajpv12”

Thanks,
GG

Hi,

did you add the following entries to the jserv.properties file (see also the installation description):

wrapper.classpath=\servlets\passthru.jar
wrapper.classpath=\bin\sax.jar
wrapper.classpath=\bin\xp.jar
wrapper.classpath=\bin\xt.jar

You have to replace + with the corresponding path names on your pc.

Best Regards,
Christine

It works now. Thank you.
The problem was the wrong order of entries in the
jserv.properties file.