On Tue, 2005-12-13 at 12:04 +0900, Ryan McDougall wrote:
My question is how can I tease out enough information to discover
what
the problem is?
Ive just discovered /var/log/tomcat5/catalina.out (of course sitting
right there in front of me the whole time! grr), which actually has
error messages worth reading:
13-Dec-05 12:25:59 PM org.apache.catalina.core.StandardHostDeployer
start(java.lang.String)
INFO: standardHost.start /myservlet
13-Dec-05 12:25:59 PM org.apache.commons.digester.Digester endElement(java.lang.String,
java.lang.String, java.lang.String)
SEVERE: End event threw exception
13-Dec-05 12:25:59 PM org.apache.catalina.startup.ContextConfig applicationConfig()
SEVERE: Parse error in application web.xml
13-Dec-05 12:25:59 PM org.apache.catalina.startup.ContextConfig applicationConfig()
SEVERE: Occurred at line 15 column 19
13-Dec-05 12:25:59 PM org.apache.catalina.startup.ContextConfig start()
SEVERE: Marking this application unavailable due to previous error(s)
13-Dec-05 12:25:59 PM org.apache.catalina.core.StandardContext start()
SEVERE: Error getConfigured
13-Dec-05 12:25:59 PM org.apache.catalina.core.StandardContext start()
SEVERE: Context startup failed due to previous errors
Which shows the culprit is
<url-pattern>/myservlet/*.do</url-pattern>
which changed to the less interesting
<url-pattern>/myservlet</url-pattern>
will allow it to deploy.
For the benefit of those that google after me, does anyone want to
explain why the first patten wont work, or offer up any further
debugging tips?
Cheers,
Ryan