On Fri, Oct 16, 2009 at 2:31 PM, Petr Sumbera <Petr.Sumbera at sun.com> wrote: > >>> The original idea was to deliver /var/run/tomcat6 directory via >>> package so that tomcat could write into it. It was wrong.. >>> >>> As tomcat6 is started with 'webservd' credential it's not able to >>> write into /var/run. Therefore I'm proposing to change pid file >>> location to: >>> >>> /var/tomcat6/logs/pid ? ? ? ?Committed ? ?PID file
What if there are multiple instances of tomcat running? Don't you need per-instance locations? (On my systems, the pid file ends up in $CATALINA_BASE/logs, which seems the obvious place to put it. That's the same as above if CATALINA_BASE is /var/tomcat6, but allows for additional instances.) -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/