0 Replies Latest reply on Dec 8, 2006 8:20 AM by jigar shah

    Handling Jboss shutdown

    jigar shah Newbie


      How do i get event notification in my application when jboss gets shutdown signal ? (Something like what we have in java Running.addshutdownhooks)
      Can i control jboss shutdown from my application ?

      In my application i have threads which accsess database. When jboss gets shutdown signal (kill) It undeploys all applications and ejbs. Now i want to delay jboss shutdown so that i can complete current operation and shutdown gracefully.

      Whats the ideal method of handling jboss shutdown in application ?

      Please help me. I am totally stckup in this.

      Thanks in advance