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