[jboss-jira] [JBoss JIRA] (AS7-3108) Web Subsystem Only Serves default-virtual-server
Alessio Soldano (Updated) (JIRA)
jira-events at lists.jboss.org
Wed Dec 21 03:32:09 EST 2011
[ https://issues.jboss.org/browse/AS7-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano updated AS7-3108:
---------------------------------
Assignee: Remy Maucherat (was: Alessio Soldano)
Component/s: Web
(was: Web Services)
> Web Subsystem Only Serves default-virtual-server
> ------------------------------------------------
>
> Key: AS7-3108
> URL: https://issues.jboss.org/browse/AS7-3108
> Project: Application Server 7
> Issue Type: Bug
> Components: Web
> Affects Versions: 7.0.2.Final
> Environment: CentOS 6 64bit
> Reporter: Mohamed King
> Assignee: Remy Maucherat
> Labels: virtual-server, virtualhosts
>
> Seams like the web-subsystem only serves content from the defined "default-virtual-server". Application/web-module for all other virtual-servers returns a blank page.
> <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="dev1.net">
> <connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="http"/>
> <connector name="ajp" protocol="AJP/1.3" socket-binding="ajp" scheme="http" enabled="true"/>
> <virtual-server name="dev1.net" default-web-module="helloworld">
> <alias name="www.dev1.net"/>
> </virtual-server>
> <virtual-server name="dev2.net" default-web-module="Calendar">
> <alias name="www.dev2.net"/>
> </virtual-server>
> </subsystem>
>
> With the configuration above am able to get to http://dev1.net:8080/hi.jsp and I see the helloworld application just fine. But if I go to http://dev2.net:8080 which is where the Calendar application is at I get a blank page. If I set "default-virtual-server=dev2.net" I then get to see the dev2 app but not dev1. Looks like default-virtual-server is controlling what host/application is served but how can this be changed so one can have multiple applications served over different hosts. You help will be greatly appreciated.
--
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