On 28/06/18 17:02, Jim Weill wrote:
> I'm on 8.5.6, and just downloaded 8.5.32 yesterday.  On my test machine
> I stopped the service, copied in the core files, copied over my
> server.xml, web.xml, and the hosted application and it seems to work
> just fine, and thinks it's running 8.5.32 when I look at the logs.  Is
> this correct for updating tomcat?  I feel like I'm missing something.....

It depends on exactly what you copied from where to where. It also
depends on what files you edited in your original install.

Having read your email I'm not completely clear on what steps you took
to do the upgrade.

There are various approaches to handling upgrades. Separating
CATALINA_BASE and CATALINA_HOME (see RUNNING.txt for details) is
probably the best.

If you don't want to do that then something along these lines should work:

First install:
- Unpack 8.5.x zip distribution.
- Add your WAR file
- Edit config files as necessary
- Use service.bat to install service
- Start Tomcat

Upgrade:
- Unpack 8.5.y distribution
- Add your WAR file
- Apply config changes*
- Stop 8.5.x
- Uninstall 8.5.x service
- Install 8.5.y service
- Start Tomcat

*There are two approaches to applying the config changes.
1. Start with the 8.5.y files and apply the same changes as you made to
the 8.5.x files
2. Use the config file diff tool [1] to see what changed in each config
file between 8.5.x and 8.5.y and apply those changes locally

Generally, I'd avoid replacing JAR files etc. That approach can work
but, in my view, it is more prone to error and if it does go wrong you
might see some very strange errors.

Mark

[1] http://tomcat.apache.org/migration-85.html#Upgrading_8.5.x

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

Reply via email to