RE: Tomcat Shutdown Control

2004-01-02 Thread Amanpreet

Hi Gary

Use the Web.xml file Exceptional Handling in tomcat with either
erro-page or error-code


error-page
  error-code500/error-code
  location/error-pages/servererror.jsp/location
/error-page

Cheers
A

-Original Message-
From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 02, 2004 12:27 PM
To: Struts Users Mailing List
Subject: Tomcat Shutdown Control

Hi Guys,

In my application I am generating left and right navigation pages of the
site dynamicaly. Now if my page is under the
processing . that means If tomcat is processing the page and i shutdown
the servcie of Tomcat then half of the page 
display null coz full processing was not done.

Now my concern is to control the Tomcat service.I want to display the
user friendly page whenever my Tomcat server
is going to be shutdown,


I expect to get some helps and sggestions.
Sincers Regards
Gary


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



Re: Tomcat Shutdown Control

2004-01-02 Thread Gurpreet Dhanoa
Hi Aman,

Thanks for the quick answer. But it will get displayed when the Error 500
occurs and tomcat is running
.What i exactly want is some message to the user that Tomcat is going to be
shutdown.

Thanks
Gary

- Original Message -
From: Amanpreet [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, January 02, 2002 12:32 PM
Subject: RE: Tomcat Shutdown Control



 Hi Gary

 Use the Web.xml file Exceptional Handling in tomcat with either
 erro-page or error-code


 error-page
   error-code500/error-code
   location/error-pages/servererror.jsp/location
 /error-page

 Cheers
 A

 -Original Message-
 From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 02, 2004 12:27 PM
 To: Struts Users Mailing List
 Subject: Tomcat Shutdown Control

 Hi Guys,

 In my application I am generating left and right navigation pages of the
 site dynamicaly. Now if my page is under the
 processing . that means If tomcat is processing the page and i shutdown
 the servcie of Tomcat then half of the page
 display null coz full processing was not done.

 Now my concern is to control the Tomcat service.I want to display the
 user friendly page whenever my Tomcat server
 is going to be shutdown,


 I expect to get some helps and sggestions.
 Sincers Regards
 Gary


 -
 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]



RE: Tomcat Shutdown Control

2004-01-02 Thread Amanpreet

Hi,
Well.
For that we need to configure Apache, which will delegate the requests
to Tomcat.
Other way round can be to have a fault tolerance Load Balancer.
Thanks
Aman


Hi Aman,

Thanks for the quick answer. But it will get displayed when the Error
500
occurs and tomcat is running
.What i exactly want is some message to the user that Tomcat is going to
be
shutdown.

Thanks
Gary

- Original Message -
From: Amanpreet [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, January 02, 2002 12:32 PM
Subject: RE: Tomcat Shutdown Control



 Hi Gary

 Use the Web.xml file Exceptional Handling in tomcat with either
 erro-page or error-code


 error-page
   error-code500/error-code
   location/error-pages/servererror.jsp/location
 /error-page

 Cheers
 A

 -Original Message-
 From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 02, 2004 12:27 PM
 To: Struts Users Mailing List
 Subject: Tomcat Shutdown Control

 Hi Guys,

 In my application I am generating left and right navigation pages of
the
 site dynamicaly. Now if my page is under the
 processing . that means If tomcat is processing the page and i
shutdown
 the servcie of Tomcat then half of the page
 display null coz full processing was not done.

 Now my concern is to control the Tomcat service.I want to display the
 user friendly page whenever my Tomcat server
 is going to be shutdown,


 I expect to get some helps and sggestions.
 Sincers Regards
 Gary


 -
 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]



Re: Tomcat Shutdown Control

2004-01-02 Thread Riaan Oberholzer
You cannot display a message, because there is no
service to handle the request


--- Gurpreet Dhanoa [EMAIL PROTECTED]
wrote:
 Hi Aman,
 
 Thanks for the quick answer. But it will get
 displayed when the Error 500
 occurs and tomcat is running
 .What i exactly want is some message to the user
 that Tomcat is going to be
 shutdown.
 
 Thanks
 Gary
 
 - Original Message -
 From: Amanpreet [EMAIL PROTECTED]
 To: 'Struts Users Mailing List'
 [EMAIL PROTECTED]
 Sent: Wednesday, January 02, 2002 12:32 PM
 Subject: RE: Tomcat Shutdown Control
 
 
 
  Hi Gary
 
  Use the Web.xml file Exceptional Handling in
 tomcat with either
  erro-page or error-code
 
 
  error-page
error-code500/error-code
   
 location/error-pages/servererror.jsp/location
  /error-page
 
  Cheers
  A
 
  -Original Message-
  From: Gurpreet Dhanoa
 [mailto:[EMAIL PROTECTED]
  Sent: Friday, January 02, 2004 12:27 PM
  To: Struts Users Mailing List
  Subject: Tomcat Shutdown Control
 
  Hi Guys,
 
  In my application I am generating left and right
 navigation pages of the
  site dynamicaly. Now if my page is under the
  processing . that means If tomcat is processing
 the page and i shutdown
  the servcie of Tomcat then half of the page
  display null coz full processing was not done.
 
  Now my concern is to control the Tomcat service.I
 want to display the
  user friendly page whenever my Tomcat server
  is going to be shutdown,
 
 
  I expect to get some helps and sggestions.
  Sincers Regards
  Gary
 
 
 

-
  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]
 


__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

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



Re: Tomcat Shutdown Control

2004-01-02 Thread Gurpreet Dhanoa
IS there any where through which I cna indicate my problem that service is
going to be shutdown
LIke you generally found the message before you shutdown the windows OS.
AMan can you please put some light on using fault tolerance Load Balancer

Regards
Gary
- Original Message -
From: Riaan Oberholzer [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 02, 2004 12:56 PM
Subject: Re: Tomcat Shutdown Control


 You cannot display a message, because there is no
 service to handle the request


 --- Gurpreet Dhanoa [EMAIL PROTECTED]
 wrote:
  Hi Aman,
 
  Thanks for the quick answer. But it will get
  displayed when the Error 500
  occurs and tomcat is running
  .What i exactly want is some message to the user
  that Tomcat is going to be
  shutdown.
 
  Thanks
  Gary
 
  - Original Message -
  From: Amanpreet [EMAIL PROTECTED]
  To: 'Struts Users Mailing List'
  [EMAIL PROTECTED]
  Sent: Wednesday, January 02, 2002 12:32 PM
  Subject: RE: Tomcat Shutdown Control
 
 
  
   Hi Gary
  
   Use the Web.xml file Exceptional Handling in
  tomcat with either
   erro-page or error-code
  
  
   error-page
 error-code500/error-code
  
  location/error-pages/servererror.jsp/location
   /error-page
  
   Cheers
   A
  
   -Original Message-
   From: Gurpreet Dhanoa
  [mailto:[EMAIL PROTECTED]
   Sent: Friday, January 02, 2004 12:27 PM
   To: Struts Users Mailing List
   Subject: Tomcat Shutdown Control
  
   Hi Guys,
  
   In my application I am generating left and right
  navigation pages of the
   site dynamicaly. Now if my page is under the
   processing . that means If tomcat is processing
  the page and i shutdown
   the servcie of Tomcat then half of the page
   display null coz full processing was not done.
  
   Now my concern is to control the Tomcat service.I
  want to display the
   user friendly page whenever my Tomcat server
   is going to be shutdown,
  
  
   I expect to get some helps and sggestions.
   Sincers Regards
   Gary
  
  
  
 
 -
   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]
 


 __
 Do you Yahoo!?
 Find out what made the Top Yahoo! Searches of 2003
 http://search.yahoo.com/top2003

 -
 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]



Re: Tomcat Shutdown Control

2004-01-02 Thread Riaan Oberholzer
Not sure if this will work, but first stop the
application using tomcat manager. Wait a minute or so,
and then stop tomcat. This way tomcat will still be
running, but the application not... and maybe you can
setup tomcat to display custom messages when an
application is not available?


--- Gurpreet Dhanoa [EMAIL PROTECTED]
wrote:
 IS there any where through which I cna indicate my
 problem that service is
 going to be shutdown
 LIke you generally found the message before you
 shutdown the windows OS.
 AMan can you please put some light on using fault
 tolerance Load Balancer
 
 Regards
 Gary
 - Original Message -
 From: Riaan Oberholzer [EMAIL PROTECTED]
 To: Struts Users Mailing List
 [EMAIL PROTECTED]
 Sent: Friday, January 02, 2004 12:56 PM
 Subject: Re: Tomcat Shutdown Control
 
 
  You cannot display a message, because there is no
  service to handle the request
 
 
  --- Gurpreet Dhanoa [EMAIL PROTECTED]
  wrote:
   Hi Aman,
  
   Thanks for the quick answer. But it will get
   displayed when the Error 500
   occurs and tomcat is running
   .What i exactly want is some message to the user
   that Tomcat is going to be
   shutdown.
  
   Thanks
   Gary
  
   - Original Message -
   From: Amanpreet [EMAIL PROTECTED]
   To: 'Struts Users Mailing List'
   [EMAIL PROTECTED]
   Sent: Wednesday, January 02, 2002 12:32 PM
   Subject: RE: Tomcat Shutdown Control
  
  
   
Hi Gary
   
Use the Web.xml file Exceptional Handling in
   tomcat with either
erro-page or error-code
   
   
error-page
  error-code500/error-code
   
  
 location/error-pages/servererror.jsp/location
/error-page
   
Cheers
A
   
-Original Message-
From: Gurpreet Dhanoa
   [mailto:[EMAIL PROTECTED]
Sent: Friday, January 02, 2004 12:27 PM
To: Struts Users Mailing List
Subject: Tomcat Shutdown Control
   
Hi Guys,
   
In my application I am generating left and
 right
   navigation pages of the
site dynamicaly. Now if my page is under the
processing . that means If tomcat is
 processing
   the page and i shutdown
the servcie of Tomcat then half of the page
display null coz full processing was not done.
   
Now my concern is to control the Tomcat
 service.I
   want to display the
user friendly page whenever my Tomcat server
is going to be shutdown,
   
   
I expect to get some helps and sggestions.
Sincers Regards
Gary
   
   
   
  
 

-
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]
  
 
 
  __
  Do you Yahoo!?
  Find out what made the Top Yahoo! Searches of 2003
  http://search.yahoo.com/top2003
 
 

-
  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]
 


__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

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



Tomcat Shutdown Control

2004-01-01 Thread Gurpreet Dhanoa
Hi Guys,

In my application I am generating left and right navigation pages of the site 
dynamicaly. Now if my page is under the
processing . that means If tomcat is processing the page and i shutdown the servcie of 
Tomcat then half of the page 
display null coz full processing was not done.

Now my concern is to control the Tomcat service.I want to display the user friendly 
page whenever my Tomcat server
is going to be shutdown,


I expect to get some helps and sggestions.
Sincers Regards
Gary