This is an automated email from the ASF dual-hosted git repository. jgallimore pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 0937cdc901b86d72e0bb290086e10682c1948156 Author: Jonathan Gallimore <[email protected]> AuthorDate: Wed Sep 4 14:04:08 2019 +0100 Fix issue where proxyConnection() wasn't called in handleObtained(). --- .../java/org/apache/openejb/resource/AutoConnectionTracker.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java b/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java index bb7b10f..882c1ed 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/AutoConnectionTracker.java @@ -155,9 +155,10 @@ public class AutoConnectionTracker implements ConnectionTracker { } catch (SystemException | ClassCastException e) { // ignore } - if (!reassociate) { - proxyConnection(interceptor, connectionInfo); - } + } + + if (!reassociate) { + proxyConnection(interceptor, connectionInfo); } }
