[jboss-jira] [JBoss JIRA] (AS7-6660) Web virtual-server does not handle undefining default-web-module properly
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Mar 7 12:10:44 EST 2013
[ https://issues.jboss.org/browse/AS7-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-6660:
----------------------------------
Fix Version/s: (was: 7.3.0.Alpha1)
> Web virtual-server does not handle undefining default-web-module properly
> -------------------------------------------------------------------------
>
> Key: AS7-6660
> URL: https://issues.jboss.org/browse/AS7-6660
> Project: Application Server 7
> Issue Type: Bug
> Components: Web
> Affects Versions: 7.1.3.Final (EAP), 8.0.0.Alpha1
> Reporter: Jess Sightler
> Assignee: Jess Sightler
> Priority: Minor
> Fix For: 8.0.0.Alpha1
>
>
> Execute the following commands from the CLI:
> /subsystem=web/virtual-server=default-host:write-attribute(name=enable-welcome-root, value=false)
> /subsystem=web/virtual-server=default-host:write-attribute(name=default-web-module, value=mywar)
> /subsystem=web/virtual-server=default-host:undefine-attribute(name=default-web-module)
> /subsystem=web/virtual-server=default-host:write-attribute(name=enable-welcome-root, value=true)
> The last command will fail with this error:
> {
> "outcome" => "failed",
> "failure-description" => "JBAS018011: The welcome root can not be enabled on a host that has the default web module",
> "rolled-back" => true,
> "response-headers" => {"process-state" => "reload-required"}
> }
> If I run read-resource, I see this:
> {
> "outcome" => "success",
> "result" => {
> "access-log" => undefined,
> "alias" => [
> "localhost",
> "example.com"
> ],
> "default-web-module" => "undefined",
> "enable-welcome-root" => false,
> "name" => "default-host",
> "rewrite" => undefined,
> "sso" => undefined
> },
> "response-headers" => {"process-state" => "reload-required"}
> }
> It has put in a string of "undefined" instead of actually undefining the attribute.
--
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