]
RH Bugzilla Integration commented on WFLY-2011:
-----------------------------------------------
Brian Stansberry <brian.stansberry(a)redhat.com> changed the Status of [bug
jboss-ejb3.xml deployment descriptor is not parsed correct for the
clustering element
-------------------------------------------------------------------------------------
Key: WFLY-2011
URL:
https://issues.jboss.org/browse/WFLY-2011
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 8.0.0.Beta1
Reporter: Wolf-Dieter Fink
Assignee: Stuart Douglas
Labels: ejb-jar.xml
Fix For: 8.0.0.CR1
If beans of an application are marked as clustered by using the jboss-ejb3.xml DD the
behaviour is not consistent.
From the XSD the <ejb-name> element can not be added multiple times.
And the following configuration will be not valid:
<assembly-descriptor>
<c:clustering>
<ejb-name>Bean1</ejb-name>
<ejb-name>Bean2</ejb-name>
<c:clustered>true</c:clustered>
</c:clustering>
</assembly-descriptor>
The parser should throw an Exception and the application should not be deployed.