How to change Tomcat to Windows service without user interruptions?
9 October, 2013
We are running Yellowfin (tomcat) as an application on quite a few servers
I need to know how to change this to run as a service with the least interruption to our clients
eg does yellowfin have to be stopped whilst service is enabled and then restarted
I also need to know how to do this for servers I do not have admin rights to so have to get the local IT admins to execute
Regards Howard
Hi Howard,
In order to switch from starting Tomcat manually to having Windows start it for you, you will need to stop the Tomcat service. It's also the only way you are going to be able to confirm that you can start up the Windows service, since it will need to be stopped in order for you to start it.
However, this process is fairly straight-forward and information on this can be found here: Changing Yellowfin to run as a Windows Service
Keep in mind, if you are running Tomcat 6, you will probably need to run Tomcat6w instead of Tomcat 5w as mentioned here :Apache Tomcat 6.0 - Windows how-to
Also note, if you do run into an 'error 0' info on this can be found here :Cannot start the YF Windows Service - Error 0
Please let us know if you run into any issues with this.
Regards,
David
In order to switch from starting Tomcat manually to having Windows start it for you, you will need to stop the Tomcat service. It's also the only way you are going to be able to confirm that you can start up the Windows service, since it will need to be stopped in order for you to start it.
However, this process is fairly straight-forward and information on this can be found here: Changing Yellowfin to run as a Windows Service
Keep in mind, if you are running Tomcat 6, you will probably need to run Tomcat6w instead of Tomcat 5w as mentioned here :Apache Tomcat 6.0 - Windows how-to
Also note, if you do run into an 'error 0' info on this can be found here :Cannot start the YF Windows Service - Error 0
Please let us know if you run into any issues with this.
Regards,
David
Thanks David
I have tried on two different servers and both required the remove to be done the install worked.
On one server was OK and was able to change Service (Yellowfin) to Auto
However in the other server I could not find yellowfin in the service list
How does Yellowfin service appear in the Windows server services list?
These servers both running Win2008R2
I have tried on two different servers and both required the remove to be done the install worked.
On one server was OK and was able to change Service (Yellowfin) to Auto
However in the other server I could not find yellowfin in the service list
How does Yellowfin service appear in the Windows server services list?
These servers both running Win2008R2
Hi,
Nice work!
It could be listed as 'Apache Tomcat' .
Please let me know if you still cannot find it.
Regards,
David
Nice work!
It could be listed as 'Apache Tomcat' .
Please let me know if you still cannot find it.
Regards,
David
OK it appeared as Apache Tomcat. I set to start automatically and then started but now getting error code 0
Howard
Howard
Hi Howard,
I'm wondering if you could have a read of this forum post and see if it helps you fix the error code 0 issue, and of course, if the problem persists then please let us know.
Regards,
Dave
I'm wondering if you could have a read of this forum post and see if it helps you fix the error code 0 issue, and of course, if the problem persists then please let us know.
Regards,
Dave