Bug 1004856

Summary: jboss-ejb3.xml deployment descriptor is not parsed correct for the clustering element
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: EJBAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0, 6.1.1CC: brian.stansberry, emartins, jawilson, kkhan, myarboro
Target Milestone: DR1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 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:
Bug Depends On: 1124427    
Bug Blocks:    

Description wfink 2013-09-05 15:38:23 UTC
The clustering element of the jboss-ejb3.xml DD can include illegal repeating of the ejb-name element:
<assembly-descriptor>
  <c:clustering>
    <ejb-name>Bean1</ejb-name>
    <ejb-name>Bean2</ejb-name>
  <c:clustered>true</c:clustered>
  </c:clustering>
</assembly-descriptor>

In that case the behaviour of different components is inconsistent, see WFLY-2011.

The parser should log the problem and the application should not deployable.

Comment 4 Dimitris Andreadis 2013-10-24 18:28:16 UTC
Assigning jpai EJB issues to david.lloyd. Please re-assign to Cheng or others as needed.

Comment 5 JBoss JIRA Server 2013-10-31 16:17:18 UTC
Stuart Douglas <stuart.w.douglas> made a comment on jira WFLY-2011

I have pushed a fix for this into the metadata repository, this will be resolved by the next metadata release.

Comment 6 JBoss JIRA Server 2013-11-01 08:44:18 UTC
Stuart Douglas <stuart.w.douglas> updated the status of jira WFLY-2011 to Resolved

Comment 8 Dominik Pospisil 2014-07-29 11:56:13 UTC
The fix is already present in metadata 7.1.1, only thing left is to do EAP component upgrade.

Comment 10 Jan Martiska 2014-09-18 09:36:52 UTC
Verified in EAP 6.4.0.DR1.1