[jboss-jira] [JBoss JIRA] (WFLY-2011) jboss-ejb3.xml deployment descriptor is not parsed correct for the clustering element
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Thu Sep 5 11:39:03 EDT 2013
[ https://issues.jboss.org/browse/WFLY-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801988#comment-12801988 ]
RH Bugzilla Integration commented on WFLY-2011:
-----------------------------------------------
wfink at redhat.com made a comment on [bug 1004856|https://bugzilla.redhat.com/show_bug.cgi?id=1004856]
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.
> 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
> Components: EJB
> Affects Versions: 8.0.0.Beta1
> Reporter: Wolf-Dieter Fink
> Assignee: jaikiran pai
> 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
More information about the jboss-jira
mailing list