[
https://issues.jboss.org/browse/AS7-4624?page=com.atlassian.jira.plugin.s...
]
Stefan Negrea commented on AS7-4624:
------------------------------------
After deploying the war file with sample jboss-web.xml posted above the application is not
accessible on the virtual host. So not only the management interface does not report the
correct value, also the application itself is not accessible on the virtual host set by
jboss-web.xml.
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@localhost:9999 subsystem=web] pwd
/deployment=hellothere.war/subsystem=web
[standalone@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