On 17/11/2010 22:02, Konstantin Kolinko wrote:
> 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

So the first request for PID method was ~1999?
This is great progress.


But I guess it's probably more important to add Lambdas than to add a
useful method call to the language.  :s


p

> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to