File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Jboss doubt.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss doubt...." Watch "Jboss doubt...." New topic

Jboss doubt....

Sandy Elizabeth

Joined: Feb 13, 2005
Posts: 9
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
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

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.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Jboss doubt....
It's not a secret anymore!