how to users let know application server is down

2003-01-08 Thread Venkat Reddy Valluri
Hi,
   I want to let users know thru html page saying that application server is down, 
when tomcat is down (here apache is connecting to  tomcat thru mod_jk)

Any help gr8ly appreciated
Thks,
--Venkat

winmail.dat--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: how to users let know application server is down

2003-01-08 Thread Jamie Furtner
Use the Apache directive ErrorDocument. mod_jk throws a 500 error when it is
unable to connect to Tomcat, so a statement like

ErrorDocument 500 /unavailable.html

works to show a plain HTML page from Apache's document root when Tomcat is
unreachable.

When Tomcat throws a 500 error(eg. due to an exception), this page is not
used and Tomcat displays its HTTP error page with details.

Jamie Furtner

-Original Message-
From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED]]
Sent: January 8, 2003 12:24 PM
To: Tomcat Users List
Subject: how to users let know application server is down


Hi,
   I want to let users know thru html page saying that application server
is down, when tomcat is down (here apache is connecting to  tomcat thru
mod_jk)

Any help gr8ly appreciated
Thks,
--Venkat

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




RE: how to users let know application server is down

2003-01-08 Thread Turoff, Steve
Venkat,

Here's one method:

1) Create an HTML Page, in Apache's html document root called something like 
error500.html. Note that this assumes that Apache is serving HTML pages and Tomcat is 
serving jsp pages.

2) Add the following line to your httpd.conf file, somewhere in the Main Server 
Configuration

ErrorDocument 500 /error500.html

3) Shutdown Tomcat and restart Apache.

4) Try browsing to a jsp page and you should see your error500.html page.

Steve

 -Original Message-
 From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 1:24 PM
 To: Tomcat Users List
 Subject: how to users let know application server is down
 
 
 Hi,
I want to let users know thru html page saying that 
 application server is down, when tomcat is down (here 
 apache is connecting to  tomcat thru mod_jk)
 
 Any help gr8ly appreciated
 Thks,
 --Venkat
 

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




RE: how to users let know application server is down

2003-01-08 Thread Venkat Reddy Valluri
Thank you very much,
  I worked well
Thks,
--Venkat


-Original Message-
From:   Turoff, Steve [mailto:[EMAIL PROTECTED]]
Sent:   Wed 1/8/2003 2:55 PM
To: Tomcat Users List
Cc: 
Subject:RE: how to users let know application server is down
Venkat,

Here's one method:

1) Create an HTML Page, in Apache's html document root called something like 
error500.html. Note that this assumes that Apache is serving HTML pages and Tomcat is 
serving jsp pages.

2) Add the following line to your httpd.conf file, somewhere in the Main Server 
Configuration

ErrorDocument 500 /error500.html

3) Shutdown Tomcat and restart Apache.

4) Try browsing to a jsp page and you should see your error500.html page.

Steve

 -Original Message-
 From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 1:24 PM
 To: Tomcat Users List
 Subject: how to users let know application server is down
 
 
 Hi,
I want to let users know thru html page saying that 
 application server is down, when tomcat is down (here 
 apache is connecting to  tomcat thru mod_jk)
 
 Any help gr8ly appreciated
 Thks,
 --Venkat
 

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





winmail.dat--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]