BTM
  1. BTM
  2. BTM-37

Tomcat LifecycleListener shutting down TM too early

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3, 1.3.1, 1.3.2
    • Fix Version/s: 1.3.3
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The bitronix.tm.integration.tomcat55.BTMLifecycleListener is shutting down the TM and the pools before the ContextLoaderListener of spring has a chance to destroy the ApplicationContext.

      This is because the BTMLifecycleListener listens to Lifecycle.START_EVENT and Lifecycle.STOP_EVENT but it should better listen to Lifecycle.BEFORE_START_EVENT and Lifecycle.AFTER_STOP_EVENT.

      See: http://www.nabble.com/BTMLifecycleListener-shutting-down-too-early-td21197679.html

        Activity

        Hide
        Ludovic Orban added a comment -

        fixed in trunk.

        Show
        Ludovic Orban added a comment - fixed in trunk.

          People

          • Assignee:
            Ludovic Orban
            Reporter:
            Ludovic Orban
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: