You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/09/29 16:18:46 UTC

DO NOT REPLY [Bug 45910] New: Tomcat will not start up if one servlet class is corrupt

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


DO NOT REPLY [Bug 45910] Tomcat will not start up if one servlet class is corrupt

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45910


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-09-29 12:34:34 PST ---
Tomcat starts for me if I swap one of the .java & .class files in the examples.
The associated context won't start but that is perfectly reasonable.


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