Deploy Tomcat 9 on Google Cloud

Keywords: Tomcat - Google Cloud Platform - Technical issue - Upgrade
Description:
Tomcat 10 introduces breaking changes for anything related to Spring. These are to be addressed in Spring 6, but ETA is unknown. (details see here: https://github.com/spring-projects/spring-boot/issues/22414.). How do I deploy the latest version of the Tomcat Stack with 9 to Google Cloud? The strategy outlined here: Last Tomcat release with MySQL for switching versions unfortunately doesn’t work on Google Cloud. Would it be possible to either i) Make the last version available in Cloud Marketplace or ii) Provide directions as to how to downgrade from the new stack to the old stack with command line? THANK YOU!

Hello @mattsignup,

You could try to lunch a new Google instance and install Tomcat 9 there. Find below the link to the installer:

https://bitnami.com/redirect/to/1439136/bitnami-tomcat-9.0.45-0-linux-x64-installer.run

You could tun these commands:

sudo /opt/bitnami/ctlscript.sh stop
wget "https://bitnami.com/redirect/to/1439136/bitnami-tomcat-9.0.45-0-linux-x64-installer.run"
chmod +x ./bitnami-tomcat-9.0.45-0-linux-x64-installer.run
sudo ./bitnami-tomcat-9.0.45-0-linux-x64-installer.run --mode unattended --prefix /opt/bitnami --base_password bitnami --apache_server_port 80 --base_mail user@example.com --enable_banner 1 --logrotate_install 1 --monit_install 1

I hope it helps

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.