Unable to start JWS 5.4 as a Windows service

Solution Verified - Updated -

Issue

  • When attempting to start JWS, it fails but starts using catalina run. commons-daemon log shows below:
[2021-06-08 08:28:41] [info]  [  452] Commons Daemon procrun (1.1.0.0 64-bit) started
[2021-06-08 08:28:41] [info]  [  452] Running 'Tomcat9' Service...
[2021-06-08 08:28:41] [info]  [ 5016] Starting service...
[2021-06-08 08:28:41] [error] [ 5016] Failed creating Java 
[2021-06-08 08:28:41] [error] [ 5016] ServiceStart returned 1
[2021-06-08 08:28:41] [info]  [  452] Run service finished.
[2021-06-08 08:28:41] [info]  [  452] Commons Daemon procrun finished

Environment

  • Red Hat JBoss Web Server 5.4
  • Windows 2019
  • Error when trying to start service:
C:\jws-5.4\tomcat\bin> net start tomcat9
The Apache Tomcat 9.0 Tomcat9 service is starting.
The Apache Tomcat 9.0 Tomcat9 service could not be started.
A service specific error occurred: 1.
  • Windows Event log error:
The Apache Tomcat 9 Tomcat9 service terminated with service-specific error: Incorrect function

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content