7 Replies Latest reply on Feb 28, 2008 5:24 AM by Rajesh Chande

    Problem with contextDestroyed executed after undeploy ...

    Cyril JOUI Newbie


      I have a trouble in my web app.
      I use JBoss 4.0.4RC1.
      I have a Context Listener Class.

      When I deploy my WAR, the container call my contextInitialized but when I remove my WAR the container doesn't call my contextDestroyed immediatly !
      It calls it only when he has removed the tmp directory for my web application.

      It works fine when I don't use Virtual Host but when I use it ... The container calls my contextDestroyed method only at the end (after undeploy !!!!).

      Does anyone have an idea ?
      Thanks by advance !