Re: Updating a working installation
Hi, Am 11.05.2018 15:47, schrieb Mark H. Wood: "Is there an easy way?" Depends on what you find easy. :-/ I usually just load old and new server.xml into a maximized Emacs with two windows, and thoughtfully copy stuff over, after reading the release notes to learn of stuff to look out for. Other configuration I usually don't touch, and webapp.s should just copy over without much trouble. As for the keystore: I've recently moved that out of my Tomcat configurations into the place where I keep other certificates and keys, and I configure Tomcat to look for it there. So I just copy those settings over and the keystore stays where it was. I also tend to install the webapp.s elsewhere and just drop in external Context files to point to them, so copying these is a snap. Nobody mentioned the usage of CATALINA_BASE vs. CATALINA_HOME Besides diffing the conf-dirs I just update CATALINA_HOME with the new version, restart and then it's done. Best regards Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Updating a working installation
"Is there an easy way?" Depends on what you find easy. :-/ I usually just load old and new server.xml into a maximized Emacs with two windows, and thoughtfully copy stuff over, after reading the release notes to learn of stuff to look out for. Other configuration I usually don't touch, and webapp.s should just copy over without much trouble. As for the keystore: I've recently moved that out of my Tomcat configurations into the place where I keep other certificates and keys, and I configure Tomcat to look for it there. So I just copy those settings over and the keystore stays where it was. I also tend to install the webapp.s elsewhere and just drop in external Context files to point to them, so copying these is a snap. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: PGP signature
Re: Updating a working installation
-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, ) 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Updating a working installation
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, ) 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. Pay special attention to the conf folder, and if any of the changes there are actual changes or in comments/documentation. That will show you if * it's enough to replace files * you should delete files * the default configuration of tomcat has changed and you'll need to validate if you need to bring those changes forward. Of course, you'll also need to compare your current custom installation with the source version, to figure out which files you use out-of-the-box, and which ones you have changed. It's hard to be more specific with this generic question. Olaf - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Updating a working installation
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, ) from scratch? -- JHHL - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org