tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=45910

           Summary: Tomcat will not start up if one servlet class is corrupt
           Product: Tomcat 6
           Version: 6.0.18
          Platform: Sun
               URL: http://gaea.dis.uu.se:9090/
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mats.nordstrom@dis.uu.se


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"
reloadable="true"/>

   The error message in Catalina.log was

   Sep 29, 2008 11:30:39 AM org.apache.tomcat.util.modeler.Registry
registerComponent
   SEVERE: Null component
Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/ralj1753,J2EEApplication=none,J2EEServer=none

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 example.java. 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
http://gaea.dis.uu.se:9090/


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message