Bugs item #446915, was opened at 2001-08-01 12:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=446915&group_id=22866

Category: JBossCX
Group: v2.5 Rabbit Hole (unstable)
Status: Open
Resolution: None
Priority: 5
Submitted By: David Jencks (d_jencks)
Assigned to: Nobody/Anonymous (nobody)
Summary: Race in ConnectionListeners

Initial Comment:
In the
BaseConnectionManager.SharedLocalConnectionListener and
BaseConnectionManager.XAListener classes there is a
race condition in afterCompletion and ConnectionClosed
in the following code:

pool.releaseObject(con);
clear();

The connection can be reused and get to a call to
txCapsule.beforeCompletion before clear is called to
remove the synchronization.

I found this by running banktest using the jca
adapter-wrapper for hypsersonic. This will serve as a
test case shortly when I commit the modifications to
XADataSourceLoader to wrap the jca adapter.

The solution is essentially to reverse the order of
these calls.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=446915&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to