2010/11/18 Leon Rosenberg <rosenberg.l...@gmail.com>:
> Is there another method to obtain the process id from within the process?

Of Tomcat process, or of something else?

You can set $CATALINA_PID in your bin/setenv.sh, and Tomcat's PID will
be written to that file.


If you need it for something else, ... these are the two first results
for 'java process PID' in Google::

[1] http://bugs.sun.com/view_bug.do?bug_id=4244896
(an RFE asking for tis feature, you can vote for it)

[2] http://blog.igorminar.com/2007/03/how-java-application-can-discover-its.html



Best regards,
Konstantin Kolinko

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

Reply via email to