tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: upgrade from 6.0.10 to 6.0.20 and retain conf and webapps.
Date Mon, 24 Aug 2009 15:58:01 GMT
Hash: SHA1

lowercase g,

On 8/24/2009 10:59 AM, g f wrote:
> I searched the tc website and google and havent had much luck finding info
> on minor upgrades...most posts pertain to major (5.5 to 6.0 etc.)
> I was wondering if it was possible to just overwrite the bin and the lib
> directory in order to accomplish this upgrade?

Tomcat doesn't really support "upgrades" per-se... you have to do a new
install. How much configuration and webapps are we talking about?

Tomcat comes with only a few webapps configured out-of-the box. You
should be able to do the following with little trouble:

1. Install Tomcat 6.0.20
2. Delete everything in (new) webapps
3. Copy (or move) everything from your old webapps to the new webapps
4. Examine the differences between old server.xml and new server.xml
5. MERGE the changes between the server.xml files
6. Repeat #4/#5 with conf/context.xml and conf/web.xml if you
   have customized them at all
7. Repeat #6 with the lib/ directory's libraries. Make sure anything
   you put in there gets copied to the new install.

I highly recommend doing a MERGE rather than a simple replacement just
in case something has changed. These files are generally not that long
and involved (unless you added a ton of stuff to them, but the marge
will still not be too bad), so I think it's worth it.

Good luck,
- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


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

View raw message