W E B   S E R V I C E S  
1.The proprietary JBoss extension:  put a 
jboss web.xml
 into your .war s WEB INF 
directory and specify the context root in that. 
2.Tomcat style:  call the file ROOT.war and deploy it. 
Using virtual hosts 
This is supported as of JBoss2.4.5 via a proprietary extension mechanism. 
To define a virtual host,  add a line of the following form to your webapp s 
WEB INF/jboss 
web.xml
 file (and set up your DNS to route requests for this hostname): 
myvirtualhost 
.You can also specify a context path in the 
WEB INF/jboss web.xml
 file like so: 
/mycontextpath     
  
You should be careful as a context path specification in a 
META INF/application.xml 
file will take precedence over the 
WEB INF/jboss web.xml
 specification. 
Running on port 80 
As port 80 is a privileged port, it is usually better to set up a mapping from it to a non 
privileged port (such as 8080) where the HTTP server is running. The set up required is 
operating system specific. For a how to for Unix systems, see 
http://jetty.mortbay.org/jetty/doc/User80.html. 
Running with Apache front ending Jetty 
It is not necessary to configure Apache to use Jetty, as Jetty is a fully featured HTTP server. 
However, if you have a special requirement for Apache, you can layer it in front of Jetty. 
Instructions for doing this can be found at 
http://jetty.mortbay.com/jetty/doc/JettyWithApache.html 
119






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

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