Jump to content

Unable to start Apache Tomcat 7.0.67


Recommended Posts

Hi All,​

 

I am unable to start Apache Tomcat 7.0.67 in services.msc.

 

I am running Windows Server 2012 Standard, Java 8 update 91 32bit, ESET ERA 6.3.136.0. Tomcat log and Java Options are attached.

 

Tomcat Log:
 
[2016-06-18 15:48:52] [info]  [ 8020] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-06-18 15:48:52] [info]  [ 8020] Debugging 'Tomcat7' service...
[2016-06-18 15:48:52] [info]  [ 8020] Starting service...
[2016-06-18 15:48:52] [error] [ 8020] Failed creating java
[2016-06-18 15:48:52] [error] [ 8020] ServiceStart returned 1
[2016-06-18 15:48:52] [info]  [ 8020] Debug service finished with exit code 1
[2016-06-18 15:48:52] [error] [ 8020] Commons Daemon procrun failed with exit value: 3 (Failed to run service as console application)
[2016-06-18 15:50:36] [info]  [ 6336] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-06-18 15:50:36] [info]  [ 6336] Running 'Tomcat7' Service...
[2016-06-18 15:50:36] [error] [ 6336] StartServiceCtrlDispatcher for 'Tomcat7' failed
[2016-06-18 15:50:36] [error] [ 6336] The service process could not connect to the service controller.
[2016-06-18 15:50:36] [error] [ 6336] Commons Daemon procrun failed with exit value: 4 (Failed to run service)
[2016-06-18 15:50:36] [error] [ 6336] The service process could not connect to the service controller.

 

JavaOptions:
 
-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 7.0
-Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 7.0
-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 7.0\endorsed
-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 7.0\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf\logging.properties

 

Thanks

Edited by jinlei801011
Link to comment
Share on other sites

  • ESET Staff

Is there any specific reason you are using 32bit Java JRE as tomcat/system seems to be 64bit? We cannot be sure from provided logs, but it seems there is problem with running Java and it may be problem with 32<->64 mismatch. I would also check PATH environment variable for user account that is used by service to be sure Java is accessible.

Link to comment
Share on other sites

go to: >>

 

c:\programfiles(x86)\Apache Software Foundation\Tomcat 7.0\bin 

 

and then click on "Tomcat7w" exe 

 

then click on the JAVA tab and then check box "Use default" 

 

now start the Tomcat service 

Link to comment
Share on other sites

This issue happened me caused by an update of Java.
I had to uninstall Java and reinstall using a previous version (for example a version when I installed)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...