On 24 September 2003, srinath narasimhan said:
> Is there any way to stop tomcat from remote computer ?
> Tomcat is run as windows service.

Well, how do you normally run commands remotely with Windows?
If the server is a Unix box, you could do this:

  ssh [EMAIL PROTECTED] "$CATALINA_HOME/bin/catalina.sh stop"

or even this:

  ssh [EMAIL PROTECTED] "echo SHUTDOWN | nc localhost 8005"

If Windows doesn't have a way to execute commands remotely, what on
earth are you doing using it as a server OS?

        Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to