0 Replies Latest reply on Aug 30, 2011 5:59 AM by javigs82

    @PreDestroy bean does not callback when Jboss 6 shutdown

    javigs82

      Hi!

       

      I need delete from DataBase when the server is shutting down.

       

      I have a JSF ManageBean SessionScope with a method (@PreDestroy) wich delete from DataBase.

       

      When session time-out, the method is invoked correctly, but when  the server shutdown it never callback this method.

       

      Could anybody help me??

       

      Thanks a lot