On 2010-02-19 10:24, Benoit GUERIN wrote:
But, how do you "redeploy" a web app ?  With my own experience, I sometimes
met some problems while upgrading a war or and unpacked web app while tomcat
was running (incorrect class loaded, mix between old and new jars, new files
unpacked but existing ones not being updated ...)

I know Tomcat can be flaky with redeployment and require restart at times, but that should be for the administrator to decide.

Also, it sounds like you are relying on Tomcat's automatic redeployment feature. If you manually undeploy the webapp, replace the files, and redeploy, there can be no risk of mixing up classes. Same if you deploy a WAR file - Tomcat will undeploy the old webapp before deploying the new one.

Replacing a running unpacked webapp without undeploying first is asking for trouble, of course.

Cheers,

Marcus



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to