Unable to start Apache Tomcat service - Error failed creating java " \Java\bin\server\jvm.dll." The system cannot find the path specified

book

Article ID: 6213

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

On a Jasper soft instance, we are unable to start Apache Tomcat service. The service just starts and stops immediately. We get the below errors in the commons-daemon.log file.

[2017-03-16 16:03:14] [info] [ 3264] Starting service...
[2017-03-16 16:03:14] [error] [ 3264] Failed creating java C:\Program Files\Java\jre1.8.0_91\bin\server\jvm.dll
[2017-03-16 16:03:14] [error] [ 3264] The system cannot find the path specified.
[2017-03-16 16:03:14] [error] [ 3264] ServiceStart returned 1
[2017-03-16 16:03:14] [error] [ 3264] The system cannot find the path specified.
[2017-03-16 16:03:14] [info] [ 1152] Run service finished.
[2017-03-16 16:03:14] [info] [ 1152] Commons Daemon procrun finished

 

Cause

This happens when Tomcat is unable to find the Java files on the system. If you look at the Java path, there will not be any files under the "bin" folder. Whenever a new version of Java is updated, a new folder for the updated java version will be created and all the files will be listed under this folder.

Environment

JasperSoft 6.x

Resolution

- Login to the Jasper Reports Server

- Navigate to Tomcat Installation bin directory (I.e. C:\Tomcat\bin)

- Execute Tomcat8w.exe

- Click on the Java Tab and change the "Java Virtual Machine" path to reflect the newly updated Java version location / folder.

 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKDwAAO" alt="Tomcat.jpg" width="595" height="549">

- Once the new path is updated, click on Apply and ok to close the tab

- Now start the Tomcat service and it should start without any issues.

Additional Information

Note : Please contact CA Support if you have any questions.

Attachments

1558625231004000006213_sktwi1ysjvsbg8tc.jpeg get_app