code_prettify

顯示具有 tomcat startup.bat windows service 標籤的文章。 顯示所有文章
顯示具有 tomcat startup.bat windows service 標籤的文章。 顯示所有文章

2015年4月29日 星期三

register tomcat as service

1. register tomcat with service name xxx(without space)
First run cmd.exe as administrator
先以系統管理員身分執行命令提示字元

Then type following command
<tomcat-root>/bin/service.bat install xxx

Service name in Windows Service will be: xxx
display name in Windows Service will be: Apache Tomcat xxx
(tried under tomcat7)

remove service

<tomcat-root>/bin/tomcat7.exe //DS//xxx