[jboss-jira] [JBoss JIRA] (AS7-4624) Virtual-host from jboss-web.xml not applied to deployments
Stefan Negrea (JIRA)
jira-events at lists.jboss.org
Wed Apr 25 12:00:19 EDT 2012
[ https://issues.jboss.org/browse/AS7-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687702#comment-12687702 ]
Stefan Negrea commented on AS7-4624:
------------------------------------
I created the virtual host prior to the deployment:
[standalone at localhost:9999 virtual-server=test] pwd
/subsystem=web/virtual-server=test
Then I deployed an war file with the sample jboss-web.xml posted above.
So, there is no need to dynamically create the virtual host. From my testing the deployment is not available on the virtual host. Also, the virtual host is not correctly reported after the deployment (please see CLI output for first post).
> 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
>
> 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