You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ole Ersoy <ol...@gmail.com> on 2007/09/01 07:19:44 UTC
jsvc.pid question / Possibility of jsvc.pid collisions?
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
Re: jsvc.pid question / Possibility of jsvc.pid collisions?
Posted by Ole Ersoy <ol...@gmail.com>.
Super - Thanks Azhar - definitely making a note of the -pidfile switch.
Thanks again,
- Ole
Waseem Azhar wrote:
> 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 <ol...@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
>
>
---------------------------------------------------------------------
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
Re: jsvc.pid question / Possibility of jsvc.pid collisions?
Posted by Waseem Azhar <wa...@gmail.com>.
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 <ol...@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