Have a Problem in jboss.There is a big web site which requires frequent modifications, After a new copy of the ear is copied into the server the new ear is deployed by the server (which follows the undeploying process). Few of the clients who were using it, before the deploy-process may get errors in different pages like NullPointException,JasperException etc... Is there any way to show the user an error saying that Server was restarted(and must appear only on restart). It is not possible to change the Existing pages as there are 1000's of pages.can we do it using the <global-exception> tag in the struts-config.xml file??? Thanx in Advance Cs.
Normally what you would do is use a web server in front of Tomcat which redirects to a static "system currently down - back in a moment"-type page till your redeployment is finished. That being said users should very rarely see this, since it is such a disruptive operation.