On 18/11/2011 22:27, Caldarale, Charles R wrote:
>> From: Caldarale, Charles R 
>> Subject: RE: Upgrading Tomcat in Place on Linux
> 
>>> What is a good way to upgrade Tomcat in place on a Linux box?
> 
>> Don't.  Install the new Tomcat in a different directory.
> 
> Forgot to mention that you will, of course, have to merge your changes to 
> server.xml and other Tomcat configuration files into the corresponding 
> locations in the new directory structure, while reading the doc for the new 
> level to see if any of the attributes have changed (very unlikely in a 
> dot-level upgrade).

Better still, separate CATALINA_HOME and CATALINA_BASE and upgrades can
be done very quickly. The ASF Jira instances are set up this way and a
Tomcat upgrade takes me about 5 minutes from start to finish. Most of
that is me not typing paths (or my passwords) correctly the first time
and Jira stopping / starting.

You do still need to merge any config file changes but [1] has a handy
utility (or the alternative svn command) to provide you with the diffs
between any two minor releases in the 7.0.x and 6.0.x branches.

Mark

[1] http://tomcat.apache.org/migration.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to