Show Table of Contents
4.3. The Main Config File
The main JBoss Web server configuration file is the TLD
server.xml file located in the $JBOSS_SERVER_HOME/PROFILE/deploy/jbossweb.sar/ directory. The file defines the JBoss Web server configuration with a set of XML configuration elements and their attributes.
The elements must follow the nesting depicted in Figure 4.1, “The server.xml file schema”.

Figure 4.1. The server.xml file schema
The elements can be divided in the following categories:
- top-level elements: contain any other elements (
<Server>and<Service>); - connectors: represent interface between clients and the service that receives the clients' requests;
- containers: represent components, which process incoming requests (
<Engine>,<Host>, and<Context>); - nested components: represent entities that provide further functionalities to their parent elements or intercept the request processing;

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.