How to install tomcat as a service on windows 2008 ?
In this tutorial,we will see how to install Apache Tomcat 8 as a service on Windows 2008 server machine.If the tomcat is installed as a service then tomcat restarts if the machine reboots due to any reason thus it is the preferred way to run tomcat.
Step 1: Download Apache Tomcat 8 from https://tomcat.apache.org/download-80.cgi.
Step 2: Go to Tomcat 8 bin folder from command prompt with admin access.
Step 3: Remove any other tomcat service if exists using below command.
E:\TST RMT BKP\Shashi\apache-tomcat-8.5.5\bin\service.bat remove
Step 4: Execute below command to install "Tomcat8" service:
E:\TST RMT BKP\Shashi\apache-tomcat-8.5.5\bin\service.bat install
Step 5: Execute below command to change the configuration.
E:\TST RMT BKP\Shashi\apache-tomcat-8.5.5\bin\sc config Tomcat8 start= auto
References:
https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
Step 1: Download Apache Tomcat 8 from https://tomcat.apache.org/download-80.cgi.
Step 2: Go to Tomcat 8 bin folder from command prompt with admin access.
Step 3: Remove any other tomcat service if exists using below command.
E:\TST RMT BKP\Shashi\apache-tomcat-8.5.5\bin\service.bat remove
Step 4: Execute below command to install "Tomcat8" service:
E:\TST RMT BKP\Shashi\apache-tomcat-8.5.5\bin\service.bat install
Step 5: Execute below command to change the configuration.
E:\TST RMT BKP\Shashi\apache-tomcat-8.5.5\bin\sc config Tomcat8 start= auto
References:
https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
How to schedule a job in Spring 4 ?
Give your suggestion in comments.
If you like the post Share with your friends on social network.
Follow us: www.facebook.com/javainstance
Follow us: www.facebook.com/javainstance
How to install tomcat as a service on windows 2008 ?
Reviewed by JavaInstance
on
12:05:00 AM
Rating:
Reviewed by JavaInstance
on
12:05:00 AM
Rating:

No comments: