[jboss-jira] [JBoss JIRA] (WFLY-3639) default-web-module doesn't work for non default host
Guruprasad Nagaraj (JIRA)
issues at jboss.org
Tue Oct 14 07:25:35 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011534#comment-13011534 ]
Guruprasad Nagaraj commented on WFLY-3639:
------------------------------------------
Hi,
I am trying to workaround this issue, since my application's requirement is to create virtual hosts on the fly/dynamically.
In order to create the virtual host programmatically, I use the Wildfly native management API to create the virtual host in the Undertow subsystem.
However this does not suffice given this issue. I can get this to work in a non-programmatic fashion by adding some test virtual hosts in jboss-web.xml.
Can I access jboss-web.xml within my EJB in Wildfly and add an entry?
Thanks and Best Regards,
GPN
> 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: 9.0.0.Beta1
>
>
> 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.1#6329)
More information about the jboss-jira
mailing list