Bug 1360391

Summary: [GSS](6.4.z) EJB client unnecessary mark a channel/connection as broken if can't read a message
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: EJBAssignee: Radovan STANCEL <rstancel>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.3, 6.4.0, 6.3.4, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9CC: andreas.lau, bmaxwell, david.lloyd, dosoudil, jbilek, rstancel
Target Milestone: CR1   
Target Release: EAP 6.4.19   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-16 11:05:28 UTC 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: 1436786, 1498153    

Description wfink 2016-07-26 14:55:32 UTC
Description of problem:

If EJB invocations can't be completed the ejb-client mark the channel/connection as broken and therefore a hickup is seen in the logfiles. If it is a single server there might be some invocations rejected with an EJBCLIENT000025 failure.
The client should make a difference for logical issues and not invalidate the channel/connection.

The log might show an error and after that the server is not available, the messages look like this:
DEBUG org.jboss.ejb.client.EJBClientContext: MyServer is excluded from handling appname=,modulename=myEJB,distinctname= in invocation context org.jboss.ejb.client.EJBClientInvocationContext@4b66500b

Actual results:
Further EJB invocations are rejected with EJBCLIENT0025 for a time until the connection is re-established.

Expected results:
Log the current failure and Continue with the channel/connection without further errors.

Comment 5 Jiří Bílek 2018-01-24 10:07:21 UTC
Verified with EAP 6.4.19.CP.CR2