This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

handling weblogic shutdown event

 
Mallikarjuna Chejerla
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Pls tell me how to handle the weblogic server normal or abnormal close events in java.How to handle the server crash event using java program.


Regards,
Malli
 
Joe Ess
Bartender
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly what do you expect to do? If your application is on the server and the server crashes, there really isn't much the application can do!
 
Mallikarjuna Chejerla
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

when weblogic shutdown properly i am able to catch that event through ServletContextlistener. But when it was stoped abnormally like by pressing ctrl+c to stop the job or when server crashes , i want to catch that event to do some thing in my applcation before server going down like storing some data in table.

Pls tell me solution for this.Thanks in Advance
Malli
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic