tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
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.

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
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