BTM
  1. BTM
  2. BTM-89

BTM errors occur after using resource.ds.minPoolSize>0 and waiting for 10 hours

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Labels:
      None
    • Environment:
      tomcat
    • Number of attachments :
      2

      Description

      This happens, since Bitronix cleanup code for connections does something like this:
      while (connections > minConnections):
      release one connection if it's too old

      Istead of this, it should do:

      for each connection:
      check and drop if it's too old
      ...

      Regards

      1. BTM-89.patch
        2 kB
        Rafal Rusin
      2. BTM-89-trunk.patch
        2 kB
        Rafal Rusin

        Activity

        Hide
        Rafal Rusin added a comment -

        Fix for 1.3.3 and trunk.

        Regards

        Show
        Rafal Rusin added a comment - Fix for 1.3.3 and trunk. Regards
        Hide
        Ludovic Orban added a comment -

        Makes sense, I like what your patch is doing and will apply it on trunk.

        Thanks for the contribution!

        Show
        Ludovic Orban added a comment - Makes sense, I like what your patch is doing and will apply it on trunk. Thanks for the contribution!
        Hide
        Ludovic Orban added a comment -

        Patch has been applied on trunk.

        Show
        Ludovic Orban added a comment - Patch has been applied on trunk.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: