Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6427

An exception occurring during Servlet.destroy() is not logged

XMLWordPrintable

    • Hide

      Import the attached project and deploy it on Wildfly; you can see that the RuntimeException is not logged and the ServletContextListener.contextDestroyed is not invoked.

      Show
      Import the attached project and deploy it on Wildfly; you can see that the RuntimeException is not logged and the ServletContextListener.contextDestroyed is not invoked.

      There's no evidence of an exception thrown in a Servlet destroy method; the only hint you have that something has gone wrong is the fact that the ServletContextListener.contextDestroyed methods are not invoked (I don't know if this is the expected behavior: for instance JBoss 7.1.1 logs the Servlet.destroy exception and then invokes ServletContextListener.contextDestroyed anyway).

      Thank you,

      lorenzo

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              lorenzo.benvenuti lorenzo benvenuti (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: