Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4985

setting default-web-module from CLI add special chars in xml

    Details

      Description

      When I try change the default-web-module by CLI, the domain.xml file result for the following command is:
      command: /profile=full-sgp/subsystem=web/virtual-server=default-host:write-attribute(name=default-web-module,value=sgp)

      result xml:
      <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
      <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
      <virtual-server name="default-host" enable-welcome-root="false" default-web-module="&quot;sgp&quot;">
      <alias name="localhost"/>
      <alias name="example.com"/>
      </virtual-server>
      </subsystem>

      The problem is that are &quot; code added to the name of default-web-module attribute. Maybe the command have been encoded twice.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maasvdberg Maas van den Berg
                Reporter:
                samueltauil Samuel Tauil
              • Votes:
                4 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: