JBoss AS ships by default with an embedded Web server, which is behind the scenes the open source Web server Apache Tomcat (http://tomcat.apache.org). The Web server is deployed as a
Service ARchive (.sar
) module and can be found in different locations depending on the release of the application server:
JBoss AS Release |
Web server location |
---|---|
| |
|
The main configuration file of JBoss Web server is server.xml
, which contains the basic configuration and is located at the root of your Service ARchive. Each Web application is in turn deployed with a configuration file (named web.xml
), which defines per-application settings. If you need to share your application settings with other applications, you can fill in your configuration in the context.xml
file, which is located at the same level as server.xml
.
The key elements for tuning the Web server are the Connectors, which are...