[jboss-jira] [JBoss JIRA] (AS7-4985) setting default-web-module from CLI add special chars in xml
Maas van den Berg (JIRA)
jira-events at lists.jboss.org
Mon Nov 5 16:33:18 EST 2012
[ https://issues.jboss.org/browse/AS7-4985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maas van den Berg updated AS7-4985:
-----------------------------------
Git Pull Request: https://github.com/jbossas/jboss-as/pull/3404 (was: https://github.com/jbossas/jboss-as/pull/3394)
> setting default-web-module from CLI add special chars in xml
> ------------------------------------------------------------
>
> Key: AS7-4985
> URL: https://issues.jboss.org/browse/AS7-4985
> Project: Application Server 7
> Issue Type: Bug
> Components: Web
> Affects Versions: 7.1.1.Final
> 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.
> Reporter: Samuel Tauil
> Assignee: Remy Maucherat
> Priority: Critical
> Labels: cli, context, domain, encoding, virtual-server, web, xml
>
> 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.
--
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