How can I broadcast a message to all logged in users, when my system goes for maintenance. During Maintenance, my Database server will be down and webserver will be up. I am using IIS as webserver, ServletExec as Servlet Engine and JSP. Thanks in Advance, Rajesh Jhaver
For instance you could do the following: For any request from your logged users needing a DB query, first of all check if the DB is up. If not, capture the exception and redirect them to a error/informative page. HTH
When your system goes for maintenance, if your servlet context is going down, you may use the ServletContextListener interface. If I remember well, there is a method: public void ServletContextDestroyed (Servletcontextevent sce), that you may implement. I think there is a way out there. I hope it helps
By constantly trying one ends up succeeding. Thus: the more one fails the more one has a chance to succeed.