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

[GSS](7.3.z) ee global-modules should not allow duplicates

XMLWordPrintable

      ee global-modules should not allow duplicates since once it is added once, it does not make sense to add a duplicate.

       

      [standalone@embedded /] /subsystem=ee:list-add(name=global-modules, value={name=javax.api}) 

      Resulting in:

              <subsystem xmlns="urn:jboss:domain:ee:4.0">
                  <global-modules>
                      <module name="javax.api"/>
                      <module name="javax.api"/>
                  </global-modules> 

       

      Or 

       [standalone@embedded /] /subsystem=ee:write-attribute(name=global-modules,value=[{name=javax.api},{name=javax.api}, {name=javax.api}])
       

      Resulting in:

              <subsystem xmlns="urn:jboss:domain:ee:4.0">
                  <global-modules>
                      <module name="javax.api"/>
                      <module name="javax.api"/>
                      <module name="javax.api"/>
                  </global-modules> 

       

              spyrkob Bartosz Spyrko-Smietanko
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: