[
https://issues.jboss.org/browse/WFLY-2011?page=com.atlassian.jira.plugin....
]
Stuart Douglas commented on WFLY-2011:
--------------------------------------
I have pushed a fix for this into the metadata repository, this will be resolved by the
next metadata release.
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
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira