This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Regarding J2ee application..

 
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..
 
Ranch Hand
Posts: 1490
  • 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.

 
Marshal
Posts: 67273
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!