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 2003/11/23 16:57:35 UTC

DO NOT REPLY [Bug 24927] New: - Multiple copies of the same application in the webapps dir causes manager to give NullPointerException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24927>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24927

Multiple copies of the same application in the webapps dir causes manager to give NullPointerException

           Summary: Multiple copies of the same application in the webapps
                    dir causes manager to give NullPointerException
           Product: Tomcat 5
           Version: 5.0.14
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: iainmcgin@dsl.pipex.com


If you make multiple copies of the same webapp within the webapp folder (without
modifying the web.xml file) then this causes the manager webapp to crash. I had
done this by accident when making a backup of an application I was working on,
by doing

cp -R scs scs_backup

within the webapp folder, where scs was the webapp I was working on (not a WAR,
just a bunch of jsps, servlets and classes).

The result is that when tomcat is restarted, and an attempt is made to look at
the manager webapp, it gives a null pointer exception. This is fixed by removing
the copy, so I assume it's an issue to do with the two web.xml files being
identical (or identical enough to cause the manager app problems).

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