upgrade failed
”.
The entire error message is: "upgrade failed. It is not safe to upgrade an instance whose version is '7.0.62.A.RELEASE', to use version '8.0.23.A.RELEASE'
"
Note: This error message uses versions '7.0.62.A.RELEASE' and '8.0.23.A.RELEASE' as an example.
tcruntime-instance
command does not support upgrading between major versions of the Tomcat Runtime. It is not possible to upgrade between major versions of the Tomcat runtime with the tcruntime-instance
command.
Instead, you need to create a new tc Server instance and migrate your applications and configuration according to the Tomcat migration guide for your new major version.
The migration guides explain the changes that occur between the Tomcat runtime versions and help you to upgrade your configuration and application so that they are compatible with the new Tomcat Runtime version.
See the following migration guides for reference: