Brian Topping wrote:

Yes, read up on the contents of jboss-web.xml.

-b

From jboss-web_3_2.dtd :

<!-- The virtual-host element allows one to specify which virtual host the war
should be deployed to. Example, to specify that a war should be deployed to the
www.jboss-store.org virtual host add the following virtual-host element:
  <virtual-host>www.jboss-store.org</virtual-host>
-->

I understand this as :
"if a virtual-host is configured, this war will be deployed to the specified virtual-host (ie. 
www.jboss-store.org/<appname>). Else, the war will be deployed under the basic root server (ie. 
<computername>:<port>/<appname>)"

not :
"if you specify a virtual-host, it will be created and the specified virtual-host will be bind to the app 
root (either context-root or the war name) so www.jboss-store.org will be bind to 
<computername>:<port>/<appname>"


Another question is : if this war is deployed inside an ear, does the virtual-host setting is still used ?



thanks, ionel




------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to