1) must be using unix
2) export CATALINA_PID=/some_dir/tomcat.pid
3) run startup.sh (in the tomcat installation to start tomcat)

Done. There should be a file called /some_dir/tomcat.pid that contains the process id of the JVM that is running tomcat.

-Tim


Shakeel Ahmad wrote:

How to set CATALINA_PID for this purpose, I mean can you give some details
and correct settings.

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 4:23 PM
To: Tomcat Users List
Subject: Re: Tomcat Server Status


We actually wrote a JSP to do this. Since we utilize the CATALINA_PID environment variable, on startup - a file with tomcat's pid is written.

Then we have a JSP which queries the last modify time of this file.

-Tim

Kashif Siddiqui wrote:


Thank you very much for guidance,

but this page don't show StartTime/UpTime of Tomcat
Server...

http://localhost:9999/manager/html

Is there any way to get it.


--- Ronald Klop <[EMAIL PROTECTED]> wrote:



Look at the http://<your-hostname>/manager/html
webapp.

See also:


http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html


Ronald.

On Tue Aug 31 12:54:51 CEST 2004 Kashif Siddiqui
<[EMAIL PROTECTED]> wrote:


Hi all,

I am sucessfully running Tomcat server, now I want

to


know that is there any way to get Tomcat server's

1. Server's Status
2. Start Time
3. Server uptime
4. Current requests on server

Thanks in advance...




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to