tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <>
Subject Re: How to know which xml file (under directory webapp) causes SAXParseException ?
Date Sun, 25 Jul 2004 15:34:37 GMT
On Sun, Jul 25, 2004 at 09:51:05AM +0800, Chris wrote:
: When TC gets SAXParseException (such as following ), how to know
: *which* XML file , usually under $TC$webapp/, cause the error?
: It seems there is no file info about the XML file.

What about the log entries above the exception? Do any of those specify
which context Tomcat is attempting to deploy (and thus, which
WEB-INF/web.xml is causing the problem)?

Otherwise, for a quick'n'dirty solution, run your various deployment
descriptors through a validator to find the troublemaker.



software  --
tech news --

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message