BTM
  1. BTM
  2. BTM-42

bitronix-scheduler is recreated/restart

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3
    • Labels:
      None
    • Environment:
      Spring + Tomcat 5/6
    • Number of attachments :
      0

      Description

      We use BTM in a spring + tomcat webapp environment.
      BTM is configured using spring.
      On application undeployment of our application first btm transaction manager is shutdown and after this the pooling datasource. The problem with this is that the pooling datasource restarts the scheduler manager thread which keeps the webapp classloder from being garbage collected.
      The source line of the problem (the scheduler restart) is this:
      XAPool line 116: TransactionManagerServices.getTaskScheduler().cancelPoolShrinking(this);

      Is there a way to configure pool shutdown before transaction manager shutdown? Otherwise the thread should not be restarted on shutdown request.

        Activity

        Hide
        Ludovic Orban added a comment -

        This actually is a bug. It's now fixed in the trunk, takes for the report.

        Here's a snapshot build containing the fix:
        http://snapshots.repository.codehaus.org/org/codehaus/btm/btm/1.3.3-20090220/btm-1.3.3-20090220.jar

        Show
        Ludovic Orban added a comment - This actually is a bug. It's now fixed in the trunk, takes for the report. Here's a snapshot build containing the fix: http://snapshots.repository.codehaus.org/org/codehaus/btm/btm/1.3.3-20090220/btm-1.3.3-20090220.jar

          People

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

            Dates

            • Created:
              Updated:
              Resolved: