On 27/10/2011 07:41, Ellecer Valencia wrote: > Hi, > > If I'm using parallel deployment in Tomcat 7, and now have 2 webapps > > /webapps/ROOT##001.war > /webapps/ROOT##002.war > > and then get problems in the new version and want to rollback to > ROOT##001.war. > > If I delete the more recent version by doing > > rm /tomcat/webapps/ROOT##002.war > > What happens to the sessions that are being serviced by #002 once the > file is removed?
They will be lost. > Will #002 still be around to service these sessions > expire, or does Tomcat remove all these sessions instantly? Instantly. > Also, what happens if ROOT##001 and ##002 have the same log4j configs > and are writing to the same log file?? How have people handled this > situation? You'll certainly end up with both apps writing to the same file. Whether or not that is a problem will depend on exactly how you have configured logging. See [1] for other things to think about. > thanks for you help, A better way to handle the rollback scenario is to deploy a copy of ROOT##001.war as ROOT#003.war. Mark [1] http://java-monitor.com/forum/showthread.php?t=1288 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org