search cancel

Windows Tomcat does not start after upgrading Java

book

Article ID: 239927

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After upgrading Java on Windows, Tomcat fails to start. Attempting to start the Tomcat service results in the below error:

Cause

It is likely that Tomcat has hardcoded the Java path in the %Tomcat_Home%\bin\Tomcat#w.exe

Environment

Release : 9.4

Component : Automic Applications Manager

Resolution

Go to the %Tomcat_Home%\bin directory and double left click the Tomcat#w.exe executable. This will open a window similar to the below screenshot after selecting the Java Tab:

A path should be seen in the yellow highlighted field above. This needs to be changed to the equivalent path for the upgrade Java.

Or simply check the "User default" box as seen above, and Tomcat will use the default Java pulled from the system level. 

The Tomcat service should start without issue.

Attachments