Am Tue, 11 Nov 2014 00:09:57 -0500 schrieb Anil Ambati <aamb...@us.ibm.com>: > Why does the Tomcat server keep the PID file locked, preventing other > processes to even read the file? Is there a work around or solution > for this problem?
I think the reason for that is, that you can this way detect if the process is still running: if it is locked, then it is running. Of course this makes it hard to read the file. To work around this I guess a native library is needed. (Or you execute "cmd /C type file.pid"). Not sure if any component offers this (might be a good addition to commons-daemon). Gruss Bernd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org