List
Subject: RE: Using shutdown script for different port
Hi,
You must have a weird setup... The shutdown socket only accepts
connections from its localhost.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Steve Kirk [mailto:[EMAIL
I am running two instances of Tomcat 4.1 on one machine, from a common
installation (i.e., different CATALINA_BASE). I have the shutdown
service for each instance listening on a different port (the original
instance on the default port of 8005, and the second instance on 8015).
Getting the
Hi
Some documentation that I did manage to find suggested the following would
work:
shutdown.sh port 8015
but I get the usage message when I try that.
I cannot tell you for shutdown.sh, but for me it works that way:
catalina.sh start == to start as daemon
catalina.sh stop == to stop
-
From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday 29 September 2004 20:21
To: tomcat
Subject: Using shutdown script for different port
I am running two instances of Tomcat 4.1 on one machine, from a common
installation (i.e., different CATALINA_BASE). I have the shutdown
'
Subject: RE: Using shutdown script for different port
You can certainly telnet to the shutdown port and send the shutdown
string.
You could do this using a scripting tool or simple Java class. For
example,
telnet to localhost 8015 then send the string shutdown, or whatever
string
is configured
Subject: RE: Using shutdown script for different port
Hi,
Of course, you can only do this telnet from the local machine ;)
Otherwise we'd have a nice security hole ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED
: Using shutdown script for different port
To be clear, the default setup _does_ allow shutdown using telnet from
any
machine unless your host or network security blocks it. Or at least
that
was the case when I installed mine.
I have the shutdown feature disabled on my setup because I didn't
:[EMAIL PROTECTED]
Sent: Wednesday 29 September 2004 21:26
To: Tomcat Users List
Subject: RE: Using shutdown script for different port
Hi,
You must have a weird setup... The shutdown socket only accepts
connections from its localhost.
Yoav Shapira
Millennium Research Informatics