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;
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat