Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss doubt....

 
Sandy Elizabeth
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic