aspose file tools*
The moose likes BEA/Weblogic and the fly likes handling weblogic shutdown event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "handling weblogic shutdown event " Watch "handling weblogic shutdown event " New topic

handling weblogic shutdown event

Mallikarjuna Chejerla

Joined: Jul 24, 2006
Posts: 16
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.

Joe Ess

Joined: Oct 29, 2001
Posts: 8927

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!

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Mallikarjuna Chejerla

Joined: Jul 24, 2006
Posts: 16
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
Consider Paul's rocket mass heater.
subject: handling weblogic shutdown event