Hi, It's an XML parser conflict. Make sure you don't have conflicting XML parser libraries in your WEB-INF/lib, common/lib, common/endorsed, and jre/lib/ext directories.
Tomcat 4.0.1, like all tomcat 4.x releases, supports Servlet 2.3 and JSP 1.2. Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Friday, May 07, 2004 6:30 AM >To: [EMAIL PROTECTED] >Subject: Tomcat 4.1.29 -> Tomcat 4.0.1 - App Problems > >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(DocumentBuilderFac tory >.java:93) >at >org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java: 183) >at >org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocati onsC >ache.java:165) >... > >Does anybody know where the problem is? > >For avise thanks in advance. >Best regarsd, Ondrej. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
