This is an automated email from the ASF dual-hosted git repository.
jgallimore pushed a commit to branch tomee-7.1.x
in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/tomee-7.1.x by this push:
new 6f40ec7 Fix issue where proxyConnection() wasn't called in
handleObtained().
6f40ec7 is described below
commit 6f40ec714c2dc2a943ed803d4458fae86a601c7d
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 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);
}
}