Installing Tomcat 7 as Service on Windows Server 2008

后端 未结 9 1350
無奈伤痛
無奈伤痛 2021-02-07 05:34

I want to install my tomcat v7.0.12 as a service on my Windows 2008 Server. On the tomcat page I found this tutorial. But there isn\'t a service.bat file in my inst

9条回答
  •  借酒劲吻你
    2021-02-07 06:33

    To Start Tomcat7 Service :

    • Open cmd, go to bin directory within "Apache Tomcat 7" folder. You will see some this like C:\..\bin>

    • Enter above command to start the service: C:\..\bin>service.bat install. The service will get started now.

    • Enter above command to start tomcat7w monitory service. If you have issue with starting the tomcat7 service then remove the service with command : C:\..\bin>tomcat7 //DS//Tomcat7

    • Now the service will no longer exist. Try the install command again, now the service will get installed and started: C:\..\bin>tomcat7w \\MS\tomcat7w

    • You will see the tomcat 7 icon in the system tray. Now, the tomcat7 service and tomcat7w will start automatically when the windows get start.

提交回复
热议问题