Tomcat fails to start

  Start Tomcat prompt: The specified service is not installed

The newly downloaded Tomcat7.0 has been decompressed and run tomcat7.exe. The screen flashes and the screen is gone. Run tomcat7w.exe and a basket will pop up.
The specified service does not exist as an installed service. Unable to open the Service 'tomcat6'

I installed tomcat7, double-clicking startup.bat can start Tomcat normally, and it can also display http://localhost:8080/ , but it seems that the installed version is not easy to use. After uninstalling, some services of tomcat are also uninstalled. Double-click the green version of tomcat7w.exe, but "the specified service does not exist as an installed service", "Unable to open the

service"Tomcat6"。

Later found the reason, it turned out that this service was not installed. Specific installation method: Open a command line prompt window

=> Enter the Tomcat installation directory ==> Enter the bin directory ==> Enter: service.bat install

  

 

Tomcat can't start and it prompts "windows cannot start Apache Tomcat on the local computer..." when entering the service startup.

After tomcat9.0 clicks start, the progress bar of the window as shown in the figure will disappear about halfway, and then the service status still shows stoppes, how should I solve it? please god help
illustrate

 

The following information is prompted when entering the service and starting

Further view the logs folder in the Tomcat system log tomcat installation directory

 

Open the commons-daemon.2014-10-22.log file above and find that the java virtual machine is running in the wrong place

Open the tomcat interface and find the java virtual machine error under the java tab page

 

1. It may be that the tomcat version does not match the jdk version. In a word, the digits of eclipse, jdk and tomcat must match. 64-bit computers are compatible with 32-bit software

2. Go to the bin in the Tomcat directory, enter Tomcat8w.exe, go in and switch to startup. The default Mode below is jvm. Just replace this jvm with java. I don't know why, but this solves the problem.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326929019&siteId=291194637