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 in server.xml for that port.
> -----Original Message----- > 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 > 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 instances to listen on a different port was easy, but I > can't seem to find any information on how to actually specify a > non-default port in the shutdown script. 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. > > Can anyone tell me how to do this? > > Thanks, > Dhruva > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
