tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Other question
Date Fri, 14 Jun 2002 14:44:48 GMT
Howdy,
A relatively unix-flavor-independent way to do it is to give your process an identifier via
the first argument, i.e. the first thing in CATALINA_OPTS, for example -Da=myapp.

You would then do ps -ef | grep java | grep myapp > tomcat.pid.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de]
>Sent: Friday, June 14, 2002 10:41 AM
>To: Tomcat Users List
>Subject: AW: Other question
>
>What operating system do you have ?
>
>> -----Urspr√ľngliche Nachricht-----
>> Von: Laura [mailto:lauradiara@libero.it]
>> Gesendet: Freitag, 14. Juni 2002 13:59
>> An: Tomcat Users List
>> Betreff: Re: Other question
>>
>>
>> But it doesn't seem to be correct. It writes in tomcat.pid a
>> PID that doesn't  seem to be correct: I have tried to do:
>>
>> kill -9 PID (which is in the tomcat.pid)
>>
>> and the system tells me:
>>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message