Before starting this service installation, make sure that you have the following files in the Tomcat installation directory :
tomcatX.exe where X refers to the version number of Tomcat;
tomcatXw.exe where X refers to the version number of Tomcat;
service.bat.
These files allow you to monitor and configure Tomcat services. If you do not have these files, go to the http://tomcat.apache.org/ Website, download them and put them under the bin folder of your Tomcat installation directory.
To install Tomcat as a service, proceed as follows:
Open a CMD window in Administrator mode.
Browse to the bin folder of the Tomcat installation directory, then type in the following command:
service.bat install
The Tomcat service is created and can be viewed by selecting Control Panel>Administrative Tools>Services in the Start Menu of Windows.
To remove the Tomcat service you can enter the following command in the same command window:
service.bat remove