tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Updating a working installation
Date Thu, 10 May 2018 18:05:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Olaf,

On 5/9/18 8:39 PM, Olaf Kock wrote:
> 
> On 09.05.2018 17:09, James H. H. Lampert wrote:
>> Question:
>> 
>> Is there an easy way to bump a working Tomcat installation from
>> one release to another, without benefit of Linux "apt-get" or
>> "yum," or WinDoze "cab" (this is an OS/400 installation), without
>> having to rebuild the whole configuration (webapps, keystore,
>> server.xml, web.xml, &c.) from scratch?
>> 
> 
> Depending on the changes in your configuration and changes
> introduced between your "come from" version versus the "go to"
> version.
> 
> IMHO the easiest way to figure out is to download your source and
> target version of vanilla tomcat and compare them with a diff
> tool.

Also this tool, if you are upgrading within major releases:

https://tomcat.apache.org/migration-85.html#Tomcat_8.5.x_configuration_f
ile_differences

I never modify conf/web.xml or conf/context.xml. It makes things much
easier.

For major releases, I usually start with the stock conf/server.xml and
re-add all of the necessary configuration, using Olaf's "diff"
technique above. Sometimes, you have to add less than you had added
before. Sometimes, more. :)

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlr0ieMACgkQHPApP6U8
pFg3JQ//VuKbwWp7Y89ARHkukTPl3DtDQdqsMDBOYcWKFIMfcB6JYTZcYhE3uubm
fKijFS97FpTMUk4Z4dHh7DXE2teRPjHl6F9yBNY7QNXInht5oVMzl6haIHAF7ZjE
S1zhCcsVGLyiU8q6MKaM1gEQr0+zQRnnbusME7KublRgzjtfwhV3BRn219rUI4VL
DPhFhK6BjVZ/3bUd/pqdMfMKR2wlw3mv5AqHtpKf2ZgEIDM4tQSCmC6uK5s86u4J
4y7Ux74qNjDCgp5JJ+bUn552Y4CkWeNQvRmL3IHEhUC+78hkCaw9ibcN8jZOQwIP
Faa0XhvYii/y/bZ2Q3YJk/f0EihpYQnaPHPg0v76bBJEEvPH1JFqlCbzLbH2wG3O
brqOwfECtpDWNkSZwaBrff/G3w1dFqUFhqGzI+rsK6aST8cGHAAAgZAxjEkad0gP
55HtZeS/njiEp7EZ6Ug+SBq8IoKS1jKVVkJaKVxO/HKGorOqV4fS+qNZwovk6LoM
kcj7VV5UqwTxvbdWUdoEK4pC+Tba0rIIWmsF400aoqZo0vc/dd4bG3IXWVfp2SLk
2bjE9PnD35mC/ZSj6WfdHq+lG2mHZzjSR/EnAc2acCvi9u8ZRbvPmb1ad+HMNIxO
lc+F5xcx7uqhUMRYQZl0+mBUWrgbgQW0K+dmxxMzNqlC8rlpVs4=
=aLYV
-----END PGP SIGNATURE-----

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


Mime
View raw message