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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to