TaminoTest work, TaminoFilter not

Has anybody an idea why the Test

http://localhost/examples/servlet/com.softwareag.tamino.passthru.TaminoTest

works perfect, an with TaminoFilter at the end it works not.

Hier is the beginning of the error File:


HTTP Status 500

type: Exception report

message

description: The server encountered an internal error () that prevented it from fulfilling this request.

exception:

javax.servlet.ServletException: Cannot allocate servlet instance for path /examples/servlet/com.softwareag.tamino.passthru.TaminoFilter
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:435)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853




Thank you for your help!

Hi,
I don’t know which xml parser and xslt processor you selected and configured in your web.xml file for the passthru servlet, but the most likely cause for your error is that the jar files for one (or both) of them are not in your passthru lib directory. You can see more about this error here
Hope this helps

Thank you for the answer. I solved the problem with a new installation, this mornigs the tomcat didn’t worked as well.

Another Question, is it possible to generate with Passthru-Servlet wml-Files instead of html-Files.

Thanks.

Glad you solved the configuration problem.

Yes, there should be no problem in generating WML files rather than HTML files. The media type (MIME type) in the HTTP header is set by the contenttype parameter in the web.xml file. If you want to generate different media types, it’s probably best to create multiple copies of the servlet under different names, so that the correct MIME type is set for each one.