0 Replies Latest reply on Feb 25, 2004 9:55 AM by stscit04

    Stop application on shutdown

    stscit04 Newbie

      Hi,

      in this thread:

      http://jboss.org/index.html?module=bb&op=viewtopic&t=45890

      someone asked about starting an application on startup.
      The answer was to use a servlets init-method and
      load-on-startup 1 .

      Is there a similar method that gets called on stopping/undeploying the
      application ? Can such a method be used to unregister notification
      listeners from JMX MBeanservers ?

      Thanks in advance

      Stefan