This is an automated email from the ASF dual-hosted git repository. jgallimore pushed a commit to branch tomee-7.0.x in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/tomee-7.0.x by this push: new a08819d Fix issue where proxyConnection() wasn't called in handleObtained(). a08819d is described below commit a08819de2feb6c1e49a5060c31dbc3419b7ea838 Author: Jonathan Gallimore <j...@jrg.me.uk> 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 82432df..c13cc93 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); } }