Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Tomcat 4.1.29 -> Tomcat 4.0.1 - App Problems

tarakan

2004-05-07


Hi all,
I had to port application from Tomcat 4.1.29 where it is running
without problems on Tomcat 4.0.1 and I encountered on errors with
every jsp page. Below is text of error message.

It seems to be the inadequate web.xml (it is need change the
web.xml file?)? Or there is not support for Servlet 2.3 and JSP
1.2 in Tomcat 4.0.1?


the error message:
...
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp
threw exception
at
org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:871)
....
root cause

java.lang.ClassCastException
at
javax.xml.parsers.DocumentBuilderFactory.newInstance (DocumentBuilderFactory.java:93)
at
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
at
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml (TldLocationsCache.java:165)
...

Does anybody know where the problem is?

For avise thanks in advance.
Best regarsd, Ondrej.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.