What about Java Management Extensions (JMX) and MBeans. Perhaps they will do
it for you ?
- Original Message -
From: Filip Hanik [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 10:28 PM
Subject: Re: Stop Tomcat Remotely
I was under
:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 5:29 PM
To: Tomcat Users List
Subject: Re: Stop Tomcat Remotely
I was under the impression, and this has maybe already been
answered, that
because of security issues, 8005 only accepts connections
from the same host
Filip
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]
) connection to a
port
on which the tomcat server is listening ( not 8080 ) and send a command.
Thanks.
-Original Message-
From: Greg Ward [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 14:52
To: Tomcat Users List
Subject: Re: Stop Tomcat Remotely
On 24 September 2003
I believe you can do that.
Telnet to port 8005 and issue a SHUTDOWN.
-Original Message-
From: srinath narasimhan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 3:14 PM
To: Tomcat Users List
Subject: RE: Stop Tomcat Remotely
Well sometimes you have no choice or its
PROTECTED]
Sent: Wednesday, September 24, 2003 3:14 PM
To: Tomcat Users List
Subject: RE: Stop Tomcat Remotely
Well sometimes you have no choice or its not in your hands to decide.
I know it can be done in unix.
It can be done in windows as well if you enable telnet or using WMI
scripts
( those involve
:20
To: Tomcat Users List
Subject: RE: Stop Tomcat Remotely
Howdy,
And what happens if you telnet to the host where tomcat is running, to
the port specified as the server port (not the connectors) in tomcat's
server.xml, and type SHUTDOWN?
Yoav Shapira
Millennium ChemInformatics
-Original
: srinath narasimhan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:33 PM
To: Tomcat Users List
Subject: RE: Stop Tomcat Remotely
I tried that, one 8005 is not even open ( I don't know if
this is because
tomcat runs as a windows service )
The documentation says that that can
, 2003 1:49 PM
Subject: RE: Stop Tomcat Remotely
If it's running as a Windows service, do this:
(note that these instructions are for Windows 2000):
1. Right click on My Computer and select Manage. The Computer Management
window opens.
2. Right click on Computer Management and select the Connect