[jboss-jira] [JBoss JIRA] (WFLY-2011) jboss-ejb3.xml deployment descriptor is not parsed correct for the clustering element

Wolf-Dieter Fink (JIRA) jira-events at lists.jboss.org
Thu Sep 5 11:23:03 EDT 2013


Wolf-Dieter Fink created WFLY-2011:
--------------------------------------

             Summary: 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


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