mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
Tomcat:Install Tomcat 5 as service on Windows NT/2000/XP

1. ensure CATALINA_HOME and JAVA_HOME are appropriatly set as 'System variables' in the 'Environment Variables' section of the System control pannel.

On Windows 2000 you get to the environment by selecting:
My computer | Properties | Advanced | Environmental Variables

  • Note that the environment variable changes will not get to your SYSTEM user (the one which services are run under) until you reboot your computer.
2. download this zip file (about 2KB) http://mdsh.com/tmp/service.zip , extract service.bat from the zip and run it using the following command line:

service.bat install tomcat5

3. start the service with this command line:

net start tomcat5

4. you may stop the service with this command line:

net stop tomcat5

5. and you can uninstall the Tomcat service with this command line:

service.bat remove tomcat5

6. For more information on the commands used in the service.bat script mentioned above go to the Apache Jakata Commons Daemon page http://jakarta.apache.org/commons/daemon/procrun.html

Tomcat:Install Tomcat 5 as service on Windows NT/2000/XP is mentioned on: Tomcat | Windows


VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2023.