Details
-
Bug
-
Resolution: Done
-
Critical
-
None
Description
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" =>
,
"response-headers" =>
}