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
JasperSoft 6.x
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.
- 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.
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.
Note : Please contact CA Support if you have any questions.