tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Waseem Azhar" <waseem...@gmail.com>
Subject Re: jsvc.pid question / Possibility of jsvc.pid collisions?
Date Tue, 04 Sep 2007 08:08:37 GMT
Yes, this is a valid issue from the start/stop tomcat perspective. If
you have multipe tomcat servers running on the same machine you can
use
-pidfile switch to specify the different pid file location for each
server. Otherwise you won't be able to start both servers
simultaneously.

e.g

-pidfile /var/run/server1/jsvc.pid
-pidfile /var/run/server2/jsvc.pid

OR

-pidfile /var/run/jsvc1.pid
-pidfile /var/run/jsvc2.pid

Thanks,
-Azhar

On 9/1/07, Ole Ersoy <ole.ersoy@gmail.com> wrote:
> Hi,
>
> I was wondering whether there is a possibility for collisions for multiple servers running
with jsvc on the same machine.  JSVC stores the tomcat process ID in:
>
> /var/run/jsvc.pid
>
> What if another server tried to do the same?  Is this a valid concern and if so is there
a way to change the name of jsvc.pid to say tomcat-jsvc.pid?
>
> Thanks,
> - Ole
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message