W E B S E R V I C E S
banshee.starkinternational.com also has the aliases www.starkinternational.com associated
with it.
Listing 13 3, An example virtual host configuration.
name="DefaultDomain:service=EmbeddedCatalinaSX">
verbosityLevel = "debug" category = "org.jboss.web.CatalinaEngine"/>
verbosityLevel = "debug" category = "org.jboss.web.Host=localhost"/>
prefix = "localhost_access" suffix = ".log"
pattern = "common" directory = " ../server/default/log" />
www.starkinternational.com
verbosityLevel = "debug" category = "org.jboss.web.Host=www"/>
prefix = "www_access" suffix = ".log"
pattern = "common" directory = " ../server/default/log" />
port = "8080" minProcessors = "3" maxProcessors = "10" enableLookups = "true"
acceptCount = "10" connectionTimeout = "60000"/>
When a WAR is deployed, it will be by default associated with the virtual host whose name
matches the defaultHost attribute of the containing Engine. To deploy a WAR to a specific
virtual host you need to use the jboss web.xml descriptor and the virtual host element. For
example, to deploy a WAR to the virtual host www.starkinternational.com virtual host alias,
the following jboss web.xml descriptor would be need to be included in the WAR WEB INF
directory. This demonstrates that an alias of the virtual host can be used in addition to the
Host name attribute value.
124
footer
Our partners:
PHP: Hypertext Preprocessor Cheap Web Hosting
JSP Web Hosting
Ontario Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Java Hosting
Cheapest Hosting
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved