We make official install packages out of each release and then use the OS package management to do an "official" installation upgrade. This allows for rollback/downgrade in the event of an issue and allows us to easily repeat this on the 120+ tomcat servers that we run.

Evan.

On 2023-05-12 09:07, Darryl Baker wrote:
I also unpack the tarball in a parallel location. Copy over the configuration 
files and war file to the new tree. Stop the running Tomcat. Relink the 
symbolic link to the new tree and restart Tomcat.

Darryl Baker, GSEC, GCLD (he/him/his)
Sr. System Administrator
Distributed Application Platform Services
Northwestern University
4th Floor
2020 Ridge Avenue
Evanston, IL 60208-0801
darryl.ba...@northwestern.edu <mailto:darryl.ba...@northwestern.edu>
(847) 467-6674 <tel:+18474676674>




On 5/12/23, 11:01 AM, "jonmcalexan...@wellsfargo.com.inva 
<mailto:jonmcalexan...@wellsfargo.com.inva>LID" <jonmcalexan...@wellsfargo.com.inva 
<mailto:jonmcalexan...@wellsfargo.com.inva>LID> wrote:


That's how I do it also. :-)


Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His


Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions


8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508


jonmcalexan...@wellsfargo.com <mailto:jonmcalexan...@wellsfargo.com>
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-----Original Message-----
From: kmhun...@gmail.com <mailto:kmhun...@gmail.com> <kmhun...@gmail.com 
<mailto:kmhun...@gmail.com>>
Sent: Thursday, May 11, 2023 3:12 PM
To: 'Tomcat Users List' <users@tomcat.apache.org 
<mailto:users@tomcat.apache.org>>
Subject: RE: Best Practice to Upgrade Apache Tomcat from 9.0.56 to 9.0.74

Not sure if anyone cares or not but this is how I handle...

Unpack Tomcat to /opt/Apache/tomcat/apache-tomcat-<version>
Create a link for the instance: /opt/Apache/tomcat/current ->
/opt/Apache/tomcat/apache-tomcat-<version>

This effectively does the same thing as described below except instead of
copying binary content you just need to copy over the relevant configuration
from the old to the new. Works for my purposes anyway.

-----Original Message-----
From: Andr? van der Lugt <avdl...@outlook.com <mailto:avdl...@outlook.com>>
Sent: Thursday, May 11, 2023 2:49 PM
To: Tomcat Users List <users@tomcat.apache.org <mailto:users@tomcat.apache.org>>
Subject: RE: Best Practice to Upgrade Apache Tomcat from 9.0.56 to 9.0.74

Hi Meltron,

-----Original Message-----
From: Meltron Kendrick <meltronkendr...@gmail.com 
<mailto:meltronkendr...@gmail.com>>
Sent: 11 May, 2023 19:09
To: users@tomcat.apache.org <mailto:users@tomcat.apache.org>
Subject: Best Practice to Upgrade Apache Tomcat from 9.0.56 to 9.0.74

I have NOT been able to locate clear HOW TO steps for this.

I am currently focused on MINOR upgrades.

I will commence a different thread when I raise the question for MAJOR
upgrades --- say from 9.x to 10.x -- or 9.x to 11.x

IF someone can point me to a great resource...
That would be tremendously helpful and truly appreciated.
Apache Tomcat home > Documentation has a Migration Guide
(https://urldefense.com/v3/__https://tomcat.apache.org/migration.html__ 
<https://urldefense.com/v3/__https://tomcat.apache.org/migration.html__>
;!!F9svGWnIaVPGSwU!purxrT4PhRPW_Lq5fZdShowqmdNRxSaHC6ZeLjoWK
MuE-YvZn1q6sjrlepczbgub1aIrGWIszV9NfrxXBp2GOdoX$ ), see subsection
"For upgrading between 9.0.x versions, ..."

Generally speaking, if you prepare your deployment according to
RUNNING.txt (see Tomcat distribution) sub-section "Advanced Configuration
- Multiple Tomcat Instances", the patch update can be fairly painless - all it
takes is replacing CATALINA_HOME/bin and CATALINA_HOME/lib with the
contents of the Tomcat update. And consulting the migration guide for
potential breaking changes. Works for me!

Good luck,
Andre




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

Reply via email to