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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to