Hi Mark,

Thanks a lot for your response. I did agree with Charles regarding the
usually bad idea about just replacing JARs, but in this specific case
(7.0.10 to 7.0.11) I suspected it could be done just replacing JARs.
I will try it definitely.




On Fri, Mar 11, 2011 at 12:40 PM, Mark Thomas <ma...@apache.org> wrote:

> On 11/03/2011 17:21, Caldarale, Charles R wrote:
> >> From: Brian Braun [mailto:brianbr...@gmail.com]
> >> Subject: Fastest way to upgrade from 7.0.10 to 7.0.11?
> >
> >> I wouldn't like to uninstall the whole software and install 7.0.11 from
> >> scratch. I would like to stop it, replace some files (some JARs, I
> guess),
> >> and start it again.
> >
> > Wrong approach.  Always install a new version of Tomcat in a separate
> directory, update the new server.xml with your site-specific information (do
> not blindly copy the old server.xml over), and copy your webapps over to the
> new appBase.
> >
> > If you keep your webapps outside of Tomcat's directory structure, then
> the last step is not necessary.
>
> The simplest way is to use a separate CATALINA_HOME and CATALINA_BASE.
> Upgrades take just a few minutes with that approach.
>
> In the specific case of 7.0.10 to 7.0.11 you should be able to just
> replace the JAR files.
> - Stop 7.0.10
> - Replace all the JAR files (and the docs webapp)
> - Empty the work directory
> - Start Tomcat
>
> This only works because of the very few changes between 7.0.10 and
> 7.0.11. Normally, this approach would bring all sorts of problems.
>
> The caveat is that this is untested and you may end up with a
> non-functioning Tomcat instance.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to