Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding J2ee application..  RSS feed

 
Antonio Giovanni
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, ..

Firstly i do not know which forum this question goes into;.. sorry if i am in the wrong forum,..

Well, we have a j2ee application running on websphere ,..(not simultaneously running on many servers, running on just 1 server)

Now when we want to update the application,.. generally what i do is stop the application,.. update by installing the EAR file and then start the application again.

My question is when the application is shut down,.. is there a way to show a page saying application is down or something like that instead of the
HTTP 404 Not Found Error.

How do u guys do it ?? I know if the application is running on many servers, you can do the re-routing thing,.. something like that..

Any ideas and suggestions will be greatly appreciated,.. i know u java-ranchers have great ideas and knowledge


Thanks

PS: is there a way that u can do some kind of set up in the Http server to handle this..
 
kri shan
Ranch Hand
Posts: 1487
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Antonio Giovanni , some of the recent version of application servers supports hot deploymnet(no need to restart your application server for changes)
 
Antonio Giovanni
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kri shan,

Thanks ... my websphere does support hot deployment,.. and i think by mistake u didn't understand my point

I do not restart my application server,.. i restart only my Application,.. the other applications will be running..

and well i restart my application when i change the web.xml,... in which case i assume u have got to start ur application again..
Will hot deployment take care of this ?? handle changes in web.xml ??

For simple updates i follow the hot deployment..

Thanks anyway
 
Antonio Giovanni
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok... looks like hot deployment will take care of changes in web.xml
but it definitely invalidates all the existing sessions..

Anyway lets not hijack this thread,.. i just want to know how you guys display the "Application is shut down page " when the application is down, and yeah the application server is not down and is running.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we have down time, our ops group redirects the traffic to a box running Apache with a simple "We'll be right back" page.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!