Use virtual hosts:

http://wiki.jboss.org/wiki/Wiki.jsp?page=VirtualHosts

Also, for mapping the virtual hosts to a single web app, this was taken from 
the above URL
anonymous wrote : 
  | Also, a single war can be deployed to mulitple virtual hosts through the 
jboss-web.xml virtual-host element. To make the jmx-console available on 
localhost, vhost1 and vhost2, edit the jmx-console.war/WEB-INF/jboss-web.xml
  | 
  | <jboss-web>
  |    <!-- Uncomment the security-domain to enable security. You will
  |       need to edit the htmladaptor login configuration to setup the
  |       login modules used to authentication users.
  |       <security-domain>java:/jaas/jmx-console</security-domain>
  |    -->
  |    <virtual-host>localhost</virtual-host>
  |    <virtual-host>vhost1.mydot.com</virtual-host>
  |    <virtual-host>vhost2-alias</virtual-host>
  | </jboss-web>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902285#3902285

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902285


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to