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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33316

           Summary: Replacing an existing Warfile
           Product: Tomcat 5
           Version: 5.0.28
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I am using an xml context file to point to my war file.  In tomcat4 when I had 
a new version of the WAR file, I simply replace the old one and restarted 
tomcat.  I can not get tomcat5 to work like this.  I replace the old file with 
the new one, restart tomcat5, go to http://localhost:8080/MyApp, and the old 
WAR is still running.  The only way I get the new one to launch is by deleting 
the contents of webapps\MyApp and work\MyApp and then restarting Tomcat.

Here are the details.  The xml context file is stored in

<tomcat_home>\conf\Catalina\localhost

This is my context file:

<Context path="/MyApp" 
        docBase="D:/WarFiles/MyApp.war"
        debug="0" 
        privileged="true">          
</Context>

>From server.xml

<Host appBase="webapps"
autoDeploy="true"
debug="0"
deployOnStartup="true"
deployXML="true"
name="localhost"
unpackWARs="true"
xmlValidation="false"
xmlNamespaceAware="false">
</HOST>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to