tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ondrej Sváb" <tara...@volny.cz>
Subject Re: Tomcat 4.1.29 -> Tomcat 4.0.1 - App Problems
Date Mon, 10 May 2004 20:54:27 GMT
Hi,
thanks for answer,

I am not sure what you mean conflict. Eg. in common/lib/ is xerces.jar and
in
WEB-INF/lib/ is another xercesImpl.jar. This is potential conflict? I
deleted the former xerces.jar but troubles continues and other conflict I
did not realize.

But I found out strange thing Servlet.init() error ...
is only for JSP pages. On the other hand servlets run well.

How is it possible?
Any idea?

Thank you, Ondrej.

----- Original Message ----- 
From: "Shapira, Yoav" <Yoav.Shapira@mpi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>



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: tarakan@volny.cz [mailto:tarakan@volny.cz]
>Sent: Friday, May 07, 2004 6:30 AM
>To: tomcat-user@jakarta.apache.org
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message