[jboss-jira] [JBoss JIRA] (AS7-4624) Virtual-host from jboss-web.xml not applied to deployments

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Thu May 3 03:17:18 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere resolved AS7-4624.
--------------------------------------

    Fix Version/s: 7.1.2.Final-redhat1
       Resolution: Done

    
> Virtual-host from jboss-web.xml not applied to deployments
> ----------------------------------------------------------
>
>                 Key: AS7-4624
>                 URL: https://issues.jboss.org/browse/AS7-4624
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web
>            Reporter: Stefan Negrea
>            Assignee: Jean-Frederic Clere
>            Priority: Critical
>              Labels: rhq
>             Fix For: 7.1.2.Final-redhat1
>
>
> Using a standalone server, deployed a war with jboss-web.xml. The jboss-web.xml had only one entry for virtual-host (but it was not the default one). The virtual host was defined on the server prior to the deployment. The virtual-host setting was not applied correctly and the web subsystem under the deployment was reporting virtual-host as 'default-host'.
> The sample jboss-web.xml used:
> <jboss-web>
>    <virtual-host>test</virtual-host>
> </jboss-web>
> CLI output:
> [standalone at localhost:9999 subsystem=web] pwd
> /deployment=hellothere.war/subsystem=web
> [standalone at localhost:9999 subsystem=web] :read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "context-root" => "/hellothere",
>         "servlet" => undefined,
>         "virtual-host" => "default-host"
>     },
>     "response-headers" => {"process-state" => "reload-required"}
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list