Hi,

I'm using Tomcat 5.5.20 running on Windows 2008 Server.
I'm trying to use Tomcat Manager to undeploy and deploy web application without 
having to restart Tomcat.

I'm getting the following issues:

First issue, when undeploying web application, after first click on Undeploy 
button, the manager deletes war files only and leaves the application folder. 
If you click Undeploy button for the second time is when it deletes the 
application folder. My web application is under <TOMCAT_HOME>/webapps, the 
default.
I have tried to add antiJARLocking="true" and antiResourceLocking="true" to the 
context file under <TOMCAT_HOME>/conf/context.xml, but didn't solve my problem.

<Context antiJARLocking="true" antiResourceLocking="true">
......
</Context>

Second issue, when deploying application (remotely) using Tomcat Manager, it 
deploys WAR file on the default location <TOMCAT_HOME>/webapps , but doesn't 
create an application folder until I restart Tomcat.
I have tried to configure the host with unpackWARs=true and autoDeploy=true but 
didn't solve my problem either.

<Host name="localhost" debug="0" appBase="webapps"
                      unpackWARs="true" autoDeploy="true">
        <Context path="" docBase="ROOT" debug="0"/>
        <Context path="/orders" docBase="/home/ian/orders" debug="0"
                       reloadable="true" crossContext="true">
        </Context>
</Host>

Any help would be very much appreciated

Thanks,

Fidelis Mnyanyi

Reply via email to