Slight mistake

Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/1afabeae
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/1afabeae
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/1afabeae

Branch: refs/heads/master
Commit: 1afabeaec42c85758c37d59f469bfa6382e87665
Parents: 9797610
Author: Jonathan Gallimore <j...@jrg.me.uk>
Authored: Mon Dec 18 09:45:54 2017 +0000
Committer: Jonathan Gallimore <j...@jrg.me.uk>
Committed: Mon Dec 18 09:45:54 2017 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/core/mdb/PoolEndpointHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/1afabeae/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/PoolEndpointHandler.java
----------------------------------------------------------------------
diff --git 
a/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/PoolEndpointHandler.java
 
b/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/PoolEndpointHandler.java
index 8fe722a..a6d0403 100644
--- 
a/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/PoolEndpointHandler.java
+++ 
b/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/PoolEndpointHandler.java
@@ -120,7 +120,7 @@ public class PoolEndpointHandler extends 
AbstractEndpointHandler {
             container.release(deployment, instance);
         } finally {
             try {
-                instanceManager.poolInstance(callContext, instance);
+                instanceManager.poolInstance(new ThreadContext(deployment, 
null), instance);
             } catch (OpenEJBException e) {
                 e.printStackTrace();
             }

Reply via email to