Group Discounts available for 3+ students and Corporate Clients

Tomcat Web Container configuration – JBOSS

Tomcat Web Container configuration – JBOSS

Apache Tomcat (6.x) is a free and open source Servlet (2.5) and JSP (2.1) Container

Embedded in JBoss AS as deploy/jbossweb.sar

JBoss Application Server configuration for Tomcat integration in each application are located in META-INF/jboss-web.xml

Default JAAS Security Domain

Class Loading and Sharing

Session Management and Caching

Clustering and Load Balancing (in all config)




Tomcat’s server.xml

Tomcat’s own configuration file: deploy/jbossweb.sar/server.xml


Connectors (HTTP, HTTPS, AJP)

Security Realms (Inherits from JBoss)

Logging (Tomcat Service)

Valves (Request/Response interceptors)

Virtual Hosts (Name-based)

Web application contexts (Per-app configuration)


<!– Optional listener which ensures correct init and shutdown of APR,

and provides information if it is not installed –>

<Listener className=”org.apache.catalina.core.AprLifecycleListener” SSLEngine=”on” />

<!–Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html –>

<Listener className=”org.apache.catalina.core.JasperListener” />


<Service name=”jboss.web”>

<!– A HTTP/1.1 Connector on port 8080 –>

<Connector protocol=”HTTP/1.1″ port=”8080″ address=”${jboss.bind.address}”

connectionTimeout=”20000″ redirectPort=”8443″ />

<!– A AJP 1.3 Connector on port 8009 –>

<Connector protocol=”AJP/1.3″ port=”8009″ address=”${jboss.bind.address}”

redirectPort=”8443″ />

<Engine name=”jboss.web” defaultHost=”localhost”>

<Realm className=””




<Host name=”localhost”>

<Valve className=”org.jboss.web.tomcat.service.jca.CachedConnectionValve”


transactionManagerObjectName=”jboss:service=TransactionManager” />





Desired to gain proficiency on JBOSS?
Explore the blog post on JBOSS training to become a pro in JBOSS.

Tomcat’s web.xml

Default web descriptor for all web apps deployers/jbossweb.deployer/web.xml


Common Filters

Servlets for handling static content (DefaultServlet), JSPs, SSI, CGI scripts, invokers, etc.

Default session timeout

MIME Type mappings

Welcome file list: index.html, index.jsp, etc.

For an indepth understanding on JBoss click on:

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at, we will update the article in 24 hours.”

0 Responses on Tomcat Web Container configuration - JBOSS"

Leave a Message

Your email address will not be published. Required fields are marked *


Please Enter Your Details and Query.
Three + 6