tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <>
Subject Re: TC 4.1.12 auto re-deploy problem/confusion
Date Tue, 03 Dec 2002 15:23:38 GMT
At 12/3/2002 09:09 AM, you wrote:
>Mark writes:
>>I have an expanded-war app where it will initially auto-deploy (ie. 
>>expand the directories under /webapps), but not able to get it to hot 
>>redeploy after changes are made. By 'hot', I mean automatically have a 
>>new.war file re-expanded without restarting Tomcat.
>>If I make changes to the app and create a new.war file, the only way I 
>>can get it to re-deploy is if I remove the existing directory under 
>>webapps then shutdown/restart Tomcat.  If I delete the directory and move 
>>a new .war file into /webapps while TC is running, it's not automatically 
>>expanded.  I've tried removing the app via the TC manager first, but it 
>>still won't auto-deploy. If I simply rename the .war file while it's in 
>>the /webapps directory, it's immediately deployed with the new directory 
>>name w/o restarting TC.  In a nutshell, if I use the same .war name, it 
>>won't redeploy unless I restart TC.  I'm using the out-of-the-box 
>>server.xml, where unpackWARs="true" and autoDeploy="true" for localhost.
>>Is there no way to 'hot' deploy an existing app the way I'd like without 
>>restarting Tomcat? I've looked at the documentation and searched the 
>>archives/Internet. In almost all cases, the last step is to 'restart 
>>Tomcat'.  My goal is to have automatic continuous-integration, including 
>>auto-deployment. Having to manually restart TC each time throws a wrench 
>>into that process.
>>To unsubscribe, e-mail:
>>For additional commands, e-mail: 
>Hello Mark, i u r using: http://localhost:8080/manager then this works 4 
>me: http://localhost:8080/manager/remove?path=<webapp> and 
>http://localhost:8080/manager/install?path=<webapp> where "<webapp>" means

>ur application context generated from ur .war. u must "remove" then 
>"re-install" using the /manager webapp and "hot" deploy works w/o bouncing 
>tc. hope this helps, david

That does work - thanks!  I was trying reload before which didn't work...

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message