Windows could not start the Apache Tomcat 8 on Local Computer. Error code 1

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

Unable to start Tomcat service for JasperSoft and receive the following popup error message:

java tomcat.JPG

When checking Apache Tomcat logs (Apache Software Foundation\Tomcat 8.0\logs), the following error is seen:

[info]  [ 3388] Running 'Tomcat8' Service...
[info]  [ 3712] Starting service...
[error] [ 3712] Failed creating java C:\Program Files\Java\jre1.8.0_112\bin\server\jvm.dll
[error] [ 3712] The system cannot find the path specified.
[error] [ 3712] ServiceStart returned 1
[error] [ 3712] The system cannot find the path specified.
[info]  [ 3388] Run service finished.

Environment:
Service Desk Manager 14.1 or 17.0JasperSoft 6.2 or 6.3Apache Tomcat 8.xAll Supported Windows Operating Systems
Cause:

Main causes for the error are:

1.  Apache Tomcat cannot find the JVM.DLL file in the specific location because it does not exist

2.  Incorrect read and write permissions for the JAVA install folder or JVM.DLL file

3.  Incorrect JAVA_HOME path specified in the Apache Tomcat configuration

Resolution:

1.  Confirm that the JVM.DLL file does indeed exist in the specified directory (i.e. C:\Program Files\Java\jre1.8.0_112\bin\server)

2.  Make sure that the JVM.DLL file has read and write permissions

3.  Confirm that the Apache Tomcat JAVA_HOME configuration is correct

  • Locate the Java install path folder on the JasperSoft server
  • Launch Configure Tomcat -> Java
  • Update the Java Virtual Machine path to the current JRE installation folder (i.e. C:\Program Files\Java\jre1.8.0_73\bin\server\jvm.dll
  •  Restart Apache Tomcat service