cancel
Showing results for 
Search instead for 
Did you mean: 

where is catalina.pid stored?

jonathan
Champ in-the-making
Champ in-the-making
Dear all,

I am a newbie using Alfresco Community - v4.2.0 (r56674-b4848) under a Ubuntu 12.04 platform. I want to use a software called monit to monitor and auto-restart Alfresco when it happens to freeze or crash. By doing so, I need the process id of tomcat7.

When I launch Alfresco, the process id is shown on screen:
$ sudo service alfresco start
alfresco start/running, process 18238

It seems that for my installation the process id is not kept in any file (e.g. /opt/alfresco/tomcat/temp/catalina.pid does not exist). Is there a parameter that I can tell tomcat7 to store its process id in a file?

Cheers,
Jonathan
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Yours is not really an alfresco question.   And is better handled by referring to the tomcat documentation.

However.

The pid file would normally be created in Tomcat's "bin" folder.   You can control where Tomcat puts it by
setting CATALINA_PID environment variable.