2 Replies Latest reply on Sep 7, 2005 5:15 AM by Raja

    Run a class method when JBoss startup/an EAR is deployed

    Gioele Barabucci Newbie

      I have a JBoss 3.2.5 EAR that sets up a Timer and adds some notifications.
      Everything works fine until the JBoss server goes down. Once JBoss is back up, the timer wont be recreated, and the notifications are lost.
      If I could setup a "listener" on the event that JBoss is restarting/the EAR has been deployed, then I could recreate the timer by myself.

      Is there a way to run a certain class method when JBoss 3.2.5 starts up or an EAR is successfully deployed?