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

    @PreDestroy bean does not callback when Jboss 6 shutdown

    Javier GS Newbie



      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