tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45910] New: Tomcat will not start up if one servlet class is corrupt
Date Mon, 29 Sep 2008 14:18:46 GMT

           Summary: Tomcat will not start up if one servlet class is corrupt
           Product: Tomcat 6
           Version: 6.0.18
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina

At startup my Tomcat died and no application could run.

   In config/server.xml I had (among others) the following Context Path
   <Context path="/ralj1753" docBase="/home/ralj1753/webapps/ROOT" debug="0"

   The error message in Catalina.log was

   Sep 29, 2008 11:30:39 AM org.apache.tomcat.util.modeler.Registry
   SEVERE: Null component

When the context path was removed Tomcat could be started up whithout problems.

The reason was that the student ralj1753 had by misstake put a servlet class
example.class in his WEB-INF/classes but example.class was a text file - the
source code He had only renamed his source code to example.class
and put it into WEB-INF/classes (after correctly updated his web.xml with the
new servlet)

I can very well understand that Tomcat cannot accept his web application but I
think it is a severe error that his mistake causes Tomcat to refuse starting up
and running at all.

I run Apache Tomcat/6.0.18 on Unix - it can be reached by

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message