You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/08/02 07:54:35 UTC

[Bug 55342] New: Lost interruption

https://issues.apache.org/bugzilla/show_bug.cgi?id=55342

            Bug ID: 55342
           Summary: Lost interruption
           Product: Tomcat Modules
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
          Assignee: dev@tomcat.apache.org
          Reporter: ash2k@apache.org

org.apache.tomcat.jdbc.pool.ConnectionPool#close should not call
Thread.interrupted() because interrupt was already reset by code that thrown
InterruptedException.

  } catch (InterruptedException ex) {
      if (getPoolProperties().getPropagateInterruptState()) {
          Thread.currentThread().interrupt();
-     } else {
-         Thread.interrupted();
      }
  }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55342] Lost interruption

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55342

--- Comment #2 from Keiichi Fujino <kf...@apache.org> ---
(In reply to Mikhail Mazursky from comment #1)
> Also, why this flag (PropagateInterruptState) is false by default? Why it
> even exists? Why someone may want pool to swallow interruptions?
This attribute was introduced by BZ52066.
See https://issues.apache.org/bugzilla/show_bug.cgi?id=52066.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55342] Lost interruption

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55342

Keiichi Fujino <kf...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Keiichi Fujino <kf...@apache.org> ---
Thanks for the report.
Fixed in trunk and 7.0.x and will be included in 7.0.43 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55342] Lost interruption

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55342

--- Comment #1 from Mikhail Mazursky <as...@apache.org> ---
Also, why this flag (PropagateInterruptState) is false by default? Why it even
exists? Why someone may want pool to swallow interruptions?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org