Tomcat:Install Tomcat 4 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.
2. run this command line to install tomcat as a service (all on one line):
it will be an automatic startup service but it will not automatically start until the next system reboot.
3. start the service with this command line:
4. you may stop the service with this command line:
5. and you can uninstall the Tomcat service with this command line: