Issue Type: Bug Bug
Affects Versions: 7.1.1.Final
Assignee: Alexey Loubyansky
Components: CLI
Created: 13/Jun/12 10:59 AM
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=""sgp"">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>

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

Environment: Linux ip-xxxxxxxx.amzn1.x86_64 #1 SMP Thu Mar 22 08:00:08 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.6) (amazon-xxxxxx.amzn1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

JBoss AS 7.1.1.Final running in Domain mode.
Project: Application Server 7
Labels: cli encoding xml domain virtual-server context web
Priority: Critical Critical
Reporter: Samuel Tauil
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