Bug 1162790

Summary: [GSS] (6.4.0) Failure during reconnect phase for the client in multithread environments
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: EJBAssignee: David M. Lloyd <david.lloyd>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.2CC: cdewolf, chaowan, jochen.riedlinger
Target Milestone: ER1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1176556 1176996 1179078 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1176556, 1179078, 1179107    

Description wfink 2014-11-11 17:20:40 UTC
After a connection failure, like server restart, the client need to reconnect with the next invocation attempt.
During this phase it happen that the first thread will start the reconnect and wait for the result. The second thread detect that the reconnects are started and skip this.
Unfortunately this cause errors as the thread is not blocked until the first connection is available again.

Actual results:
Failure of inocation with ERROR messages

Expected results:
Wait until connections are available, or fail if reconnect failed

Comment 1 JBoss JIRA Server 2014-12-08 20:48:35 UTC
Richard Achmatowicz <rachmato> updated the status of jira EJBCLIENT-121 to Coding In Progress

Comment 5 Jan Martiska 2015-01-14 09:32:21 UTC
Verified in EAP 6.4.0.ER1.