tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Janner <Jeffrey.Jan...@PolyDyne.com>
Subject RE: Shutdown port and multiple Tomcat instances
Date Mon, 15 Jun 2015 14:55:02 GMT
> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org]
> Sent: Monday, June 15, 2015 9:51 AM
> To: Tomcat Users List
> Subject: Re: Shutdown port and multiple Tomcat instances
> 
> On 15/06/2015 15:49, Jeffrey Janner wrote:
> > I'm making the switch to running all my tomcats on Linux.
> >
> > I'm planning to deploy multiple instances per machine, splitting
> > catalina_base and catalina_home, and just have question on the
> shutdown
> > port.
> >
> > Under Windows, I just deployed the binary with the commons daemon
> > wrapper and set the shutdown port to -1 and let the daemon manage the
> > orderly shutdown.
> >
> > Is it possible to set the port to -1 under Linux and do something
> > similar? Preferably without deploying the daemon wrapper also, though
> > I'm willing to do if necessary.  I am planning to manage them with
> > service/init scripts for startup and shutdown.
> 
> Yes, "kill -15 <pid>" will trigger a clean shutdown.
> 
> Mark
 
Thanks Mark.
Trying to keep the deployment as clean as possible for the moment.
I'll look some more into the benefits of running Tomcat under the commons daemon at a future
date.
As it is, I'm probably going to need to deploy it for a couple of related standalone java
apps.
Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message