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

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

    XMLWordPrintable

Details

    • 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.

    Description

      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

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: WFLY

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: