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

Document ID : KB000006213
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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

 

Environment:
Jasper Soft 6.1
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.

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.

 

Tomcat.jpg

- 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.