Leon Rosenberg wrote:
On Thu, Nov 18, 2010 at 6:11 PM, André Warnier <a...@ice-sa.com> wrote:
Christopher Schultz wrote:

Maybe we should turn the problem around though.
If Leon wanted the PID, it was obviously to do something with it later.
What do you do with a PID ?  Usually, one uses it to send a signal to a
process.

actually in the very first line, i wanted to find out if an instance
of the process was already running.

Ha.  So maybe you could just check if some well-known port is open for business 
?
Like that JVM's JMX port for instance ?
That would even have the advantages that it works at a distance, and is really 
multi-platform.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to