Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9393

Stack element in JGroups subsystem allows arbitrary attribute to be defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR16
    • 7.1.0.DR13
    • Clustering
    • None

      When adding foo="bar" attribute to <stack> element in JGroups subsystem and running the EAP, the XML validation passes.

      There should Validation error thrown instead.

      JGroups subsystem configuration
      <subsystem xmlns="urn:jboss:domain:jgroups:4.1">
          <channels default="ee" foo="bar">
      	<channel name="ee" stack="udp"/>
          </channels>
          <stacks>
      	<stack name="udp" foo="bar">
      	    <transport type="UDP" socket-binding="jgroups-udp"/>
      	    <protocol type="PING"/>
      	    <protocol type="MERGE3"/>
      	    <protocol type="FD_SOCK"/>
      	    <protocol type="FD_ALL"/>
      	    <protocol type="VERIFY_SUSPECT"/>
      	    <protocol type="pbcast.NAKACK2"/>
      	    <protocol type="UNICAST3"/>
      	    <protocol type="pbcast.STABLE"/>
      	    <protocol type="pbcast.GMS"/>
      	    <protocol type="UFC"/>
      	    <protocol type="MFC"/>
      	    <protocol type="FRAG2"/>
      	</stack>
          </stacks>
      </subsystem>
      

            rhn-engineering-rhusar Radoslav Husar
            mvinkler1@redhat.com Michal Vinkler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: