tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Tomcat Server Status
Date Tue, 31 Aug 2004 12:46:15 GMT
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:funkman@joedog.org]
> 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 <ronald-mailinglist@base.nl> 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
>>><kashif_ucit@yahoo.com> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

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


Mime
View raw message