2 Replies Latest reply on Feb 10, 2014 2:36 PM by Valdemir Vieira Junior

    JBoss 7.1 calls ServletContextListener only after destroy the application context

    Valdemir Vieira Junior Newbie

      Hi,

       

      I've wrote a SevletContextListener to do some tasks before the application be undeployed, but the JBoss 7.1 calls the listener only after destroy the application context.

       

      Does anyone know a alternative to ServletContextListener?

       

       

      Thanks for help.