[jboss-jira] [JBoss JIRA] (WFLY-3639) default-web-module doesn't work for non default host

Tomaz Cerar (JIRA) issues at jboss.org
Tue Aug 11 06:30:05 EDT 2015


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

Tomaz Cerar updated WFLY-3639:
------------------------------
    Workaround Description: 
add jboss-web.xml to WEB-INF with content:
{code:xml}
<jboss-web>
    <context-root>/</context-root>
    <virtual-host>other-host</virtual-host>
    <server-instance>name-of-server</server-instance>
</jboss-web>
{code}

  was:
add jboss-web.xml to WEB-INF with content:
{code:xml}
<jboss-web>
    <virtual-host>other-host</virtual-host>
</jboss-web>
{code}



> default-web-module doesn't work for non default host
> ----------------------------------------------------
>
>                 Key: WFLY-3639
>                 URL: https://issues.jboss.org/browse/WFLY-3639
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 8.1.0.Final
>            Reporter: Tomaz Cerar
>            Assignee: Tomaz Cerar
>             Fix For: 10.0.0.Beta2
>
>
> If you use config like this:
> {code:xml}
> <host name="default-host" default-web-module="myapp1.war" alias="webapp.domain1.com"/>
>     <host name="other-host" default-web-module="myapp2.war" alias="test.domain2.net"/>
> {code}
> and have apps myapp1.war & myapp2.war deployed myappwar2.war won't be bind to other-host.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list