Bug 1308993 - [GSS](6.4.z) SessionSynchronization callbacks allow concurrent access to SFSB
Summary: [GSS](6.4.z) SessionSynchronization callbacks allow concurrent access to SFSB
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ryan Emerson
QA Contact: Jan Martiska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 16:42 UTC by Brad Maxwell
Modified: 2019-10-10 11:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-19 16:28:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EAP7-513 0 Critical Closed Redesign EJB Locking 2017-08-09 11:22:38 UTC
Red Hat Issue Tracker JBEAP-3448 0 Critical Verified [GSS](7.1.0) SessionSynchronization callbacks allow concurrent access to SFSB 2017-08-09 11:22:39 UTC
Red Hat Issue Tracker JBPAPP-11239 0 Critical Pending Upload to Patch Repository EAP 5.2.0: Implement AOP interceptor stack for Session synch callbacks 2017-08-09 11:22:38 UTC
Red Hat Issue Tracker WFLY-6215 0 Critical Resolved SessionSynchronization callbacks allow concurrent access to SFSB 2017-08-09 11:22:38 UTC

Description Brad Maxwell 2016-02-16 16:42:00 UTC
Assume a local SFSB, B1, with container managed transactions and a calling SFSB, B2, which has bean managed transactions. B1 implements the SessionSynchronization interface.

When B2's bean managed transaction timesout whilst executing B1.exampleMethod(), B2's transaction aborts and the transaction reaper thread calls B1.afterCompletion(). However, the original worker thread that was executing B1.exampleMethod() continues to execute B1.exampleMethod() until it has completed. Hence it is possible for the B1 SFSB to be accessed concurrently. It is also possible for B1.afterCompletion() to finish executing before B1.exampleMethod().

Comment 2 JBoss JIRA Server 2016-04-06 07:32:41 UTC
Jan Martiska <jmartisk> updated the status of jira JBPAPP-11239 to Pending Upload to Patch Repository

Comment 5 Brad Maxwell 2016-12-19 16:28:09 UTC
Deferred to EAP 7.1 -> JBEAP-3448


Note You need to log in before you can comment on or make changes to this bug.