On Thu, Jul 23, 2020 at 6:24 AM Hans Schou wrote:

I am about to upgrade a lot of Tomcat 8.0 instances to 9.0 on Windows.
> ...
> But in this process I loose some parameters like "Log on", "Initial memory
> pool" and "Java options" which has been set with
>   tomcat8w.exe //ES//example
> or
>  tomcat8w.exe //US//example
>
> Is there a way where I can get the say "Java options" parameters with a
> command line tool so I don't have to start the GUI for every instans?
>
> Or is there a better way to upgrade from 8.0 to 9.0?
>

Simplifying upgrades on the Windows platform is one of the main reasons I
created an alternative Windows installer. Latest version here:

https://github.com/Bill-Stewart/ApacheTomcatSetup/releases

Documentation is here:

https://github.com/Bill-Stewart/ApacheTomcatSetup

Basically the steps would be:

1. Back up/document your 8.x configuration.

2. If you used Apache's Windows installer, uninstall it (unfortunately this
removes the service and service configuration info).

3. Install the latest Tomcat version using the alternative installer, and
configure Tomcat as needed.

In the future, upgrades using the alternative installer are pretty simple:

1. Update the timestamps of the config files you don't want the installer
to overwrite.

2. Download and run the latest version of the alternative installer to
perform the upgrade. The installer automatically stops the service,
upgrades the files, and restarts the service. All service configuration
information is preserved.

Of course, I would strongly recommend testing all of the above in a test
environment first.

Bill

Reply via email to