Hello; this is most likely a very noob question, and I apologize.
I was wondering if it was possible to start and stop the Tomcat services on a Server, from a Workstation. Currently our users have to go to the server to start and stop Tomcat when doing their work. I am supporting a remote customer in trying to find an answer and they are asking me to look at one of two options to see if they will work;
1. Can you write a script on the workstation within the startup and shutdown .bat files which can remotely start and stop the service on the server?
2. If the above cannot be done, can you run the start/stop scripts over sc.exe (the workstations are Windows, the server Linux).
In talking with people the consensus seems to be that using remote desktop or Terminal Services (mstsc) would be the way to go. Thanks for any help you guys can provide.
Joined: Mar 03, 2008
You can look at Tomcat Manager , but allowing the users to start/stop tomcat services sounds a little bit weird for me.
I use ssh, and in Windows, that's PuTTY unless I've bulked up the machine with cygwin (and sometimes even then!). I've also got Tomcat running as a service, so that means I can log in, do a "sudo /sbin/service tomcat restart" and go on my merry way.
Customer surveys are for companies who didn't pay proper attention to begin with.