IBM Support

Tomcat services not starting as a Windows service.

Troubleshooting


Problem

Apache Tomcat Service is not able to start as a Microsoft Windows service.

Symptom

Attempting to configure the Apache Tomcat as a Windows service by using the steps from the following article, the service fails to start.
Configuring Apache Tomcat server to run as a Windows service
https://www.ibm.com/docs/en/elm/6.0.6.1?topic=tomcat-configuring-server-as-windows-service

Cause

A 32-bit version of the Apache Tomcat was installed instead of a 64-bit version.

Diagnosing The Problem

Reviewing the commons-daemon log file, the following errors are noticed.
[2020-11-22 23:18:44] [info] [3824] Running 'tomcat7' Service...
[2020-11-22 23:18:44] [info] [1220] Starting service...
[2020-11-22 23:18:44] [error] [1220] %1 is not a valid Win32 application.
[2020-11-22 23:18:44] [error] [1220] Failed creating java C:\RQM6061\JazzTeamServer\server\jre\bin\j9vm\jvm.dll
[2020-11-22 23:18:44] [error] [1220] %1 is not a valid Win32 application.
[2020-11-22 23:18:44] [error] [1220] ServiceStart returned 1
[2020-11-22 23:18:44] [error] [1220] %1 is not a valid Win32 application.
[2020-11-22 23:18:44] [info] [3824] Run service finished.

Resolving The Problem

Ensure that you installed the 64-bit version of the Apache Tomcat.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSUVV6","label":"IBM Engineering Test Management"},"ARM Category":[{"code":"a8m50000000CjQCAA0","label":"Test Management->Application Servers *File under JTS*->Tomcat"}],"ARM Case Number":"TS004555265","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
18 October 2021

UID

ibm16502031