Tomcat6.0 做成win Service
方式在window的command窗口执行Tomcat的bin目录下Service.bat文件。
l 安装Service命令:Service.bat install YourServiceName。 将会生成一个名字为Apache YourServiceName的服务,默认是手动的,需要修改为自动。
l 删除Service命令:Service.bat remove YourServiceName。
Note:service Name中不要带数字
本文介绍如何将Tomcat6.0配置为Windows服务,包括使用Service.bat脚本安装和卸载服务的方法。安装服务后默认为手动启动,需要调整为自动。注意服务名避免包含数字。
Tomcat6.0 做成win Service
方式在window的command窗口执行Tomcat的bin目录下Service.bat文件。
l 安装Service命令:Service.bat install YourServiceName。 将会生成一个名字为Apache YourServiceName的服务,默认是手动的,需要修改为自动。
l 删除Service命令:Service.bat remove YourServiceName。
Note:service Name中不要带数字
785
590
676

被折叠的 条评论
为什么被折叠?