You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David kerber <dc...@verizon.net> on 2014/05/28 14:06:19 UTC
Upgrading Tomcat version
Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as windows
services. Not using APR.
To upgrade to the latest version, I should be able to just stop the
services and unzip the latest .zip version on top of the existing Tomcat
installation, right?
I have already tested it to verify my app's proper operation with the
new version.
Thanks!
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgrading Tomcat version
Posted by Mark Thomas <ma...@apache.org>.
On 28/05/2014 13:21, David kerber wrote:
> On 5/28/2014 8:12 AM, Mark Thomas wrote:
>> On 28/05/2014 13:06, David kerber wrote:
>>> Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as windows
>>> services. Not using APR.
>>>
>>> To upgrade to the latest version, I should be able to just stop the
>>> services and unzip the latest .zip version on top of the existing Tomcat
>>> installation, right?
>>
>> Wrong.
>>
>> At least one JAR (ecj*.jar, the Eclipse compiler) has changed names so
>> you'll have multiple versions of that JAR. You'll need to remove the old
>> versions.
>
> Ok.
>
>
>>
>> You are also likely to clobber any customisations you have in server.xml
>> or any of the other files in conf.
>
> I use separate CATALINA_BASE and CATALINA_HOME directories, so shouldn't
> be an issue.
Excellent. Always the easiest way to manage upgrades.
Just unpack to a new CATALINA_HOME and point to the new location. Don't
forget to empty the work directory which Tomcat is shutdown.
>> You can do it this way but you need to be really careful.
>>
>> The migration guide on the web site provides a handy tool to check for
>> changes in the default config files between versions so you can see what
>> changes you need to apply to your customised files (assuming you have
>> made some tweaks).
>
> No customizations to the default conf files, but I'll take a look to see
> what else I might not be thinking of.
There are some changes you'll want to pull in. If you haven't changed
the defaults you can just copy the files but it is worth checking the
files really are unchanged first.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgrading Tomcat version
Posted by David kerber <dc...@verizon.net>.
On 5/28/2014 8:12 AM, Mark Thomas wrote:
> On 28/05/2014 13:06, David kerber wrote:
>> Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as windows
>> services. Not using APR.
>>
>> To upgrade to the latest version, I should be able to just stop the
>> services and unzip the latest .zip version on top of the existing Tomcat
>> installation, right?
>
> Wrong.
>
> At least one JAR (ecj*.jar, the Eclipse compiler) has changed names so
> you'll have multiple versions of that JAR. You'll need to remove the old
> versions.
Ok.
>
> You are also likely to clobber any customisations you have in server.xml
> or any of the other files in conf.
I use separate CATALINA_BASE and CATALINA_HOME directories, so shouldn't
be an issue.
>
> You can do it this way but you need to be really careful.
>
> The migration guide on the web site provides a handy tool to check for
> changes in the default config files between versions so you can see what
> changes you need to apply to your customised files (assuming you have
> made some tweaks).
No customizations to the default conf files, but I'll take a look to see
what else I might not be thinking of.
Thanks!
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgrading Tomcat version
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Mark,
On 5/28/14, 8:12 AM, Mark Thomas wrote:
> On 28/05/2014 13:06, David kerber wrote:
>> Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as
>> windows services. Not using APR.
>>
>> To upgrade to the latest version, I should be able to just stop
>> the services and unzip the latest .zip version on top of the
>> existing Tomcat installation, right?
>
> Wrong.
>
> At least one JAR (ecj*.jar, the Eclipse compiler) has changed names
> so you'll have multiple versions of that JAR. You'll need to remove
> the old versions.
>
> You are also likely to clobber any customisations you have in
> server.xml or any of the other files in conf.
>
> You can do it this way but you need to be really careful.
+1
I always favor the use of CATALNA_HOME + CATALINA_BASE. This allows
you to unzip a new Tomcat into a new CATALINA_HOME (e.g.
/usr/local/tomcat/7.0.54), stopping the old JVM, changing the
CATALINA_HOME environment variable to point to the new Tomcat, and
re-launching.
If things go badly, just change your CATALINA_HOME back to the old
value and re-restart. Everything should be back the way it was and you
can inspect *both* configurations to see what might be the problem.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCAAGBQJTh3KNAAoJEBzwKT+lPKRYWTEP/jqwXjEYvanuJUy9ucQQj3hO
ODwP6al/nTibO+CG4JrKDCps/b3mKyzgePjen2a3NiImLXk2PGsqEh/QnOdiLscZ
znzcb6tfdYegv9PBR5yuPaiXelAuSMUMlOE84bDBCBtZp4q0VZRfGsYIyW3fMfJT
21e6WcGYlIMng8SoIDlyJWUhv24mY+C3IBgrFCT6kHbCVAIXlkysSA30ysx3LTbl
vT8LpLfKepXJEzhKGE6t7xTSlRYpngylhnv4ikwW8wx0V5zkAIgfTC4URPRxEVXv
5BNDgS/VgDUCShmpcl7Y/4RyXj73E/r+q0V/sU5YQCumYjnN5eHljyH5Z9yF/RqT
ewe5QeNtG7J8Ii+5iaR+o1Lqo/O0nI+RhzEs5IeLioNSrSu/dhpbD5b0Pzx+bhBC
/azeBZnRd9BkK1QWZXVlPsQS6Be4cwOZQmsuJyVEcVfVGHRcgfkBgoD5J/wZz4/1
YC9w9meetdZrUFpufKKV8Uw+WX6M3NadWp2c6JfkXUxZzEHSw2ikFOvQ5T8WYrd9
iSlco8xopPJvC65yt8+0sJK4vkYuOrypyponhyMdfUWz+Ldvc93YICiMOXzUAGRQ
STZgk+xek9+BX0LGvAZXG6Ri6UJtNfoidjsH7+BOQBaUWjCQwjay3BgEaqhUKUG0
JPQylv6Wo9YJUDKtmrT9
=9Ut7
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Upgrading Tomcat version
Posted by Mark Thomas <ma...@apache.org>.
On 28/05/2014 13:06, David kerber wrote:
> Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as windows
> services. Not using APR.
>
> To upgrade to the latest version, I should be able to just stop the
> services and unzip the latest .zip version on top of the existing Tomcat
> installation, right?
Wrong.
At least one JAR (ecj*.jar, the Eclipse compiler) has changed names so
you'll have multiple versions of that JAR. You'll need to remove the old
versions.
You are also likely to clobber any customisations you have in server.xml
or any of the other files in conf.
You can do it this way but you need to be really careful.
The migration guide on the web site provides a handy tool to check for
changes in the default config files between versions so you can see what
changes you need to apply to your customised files (assuming you have
made some tweaks).
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org