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
To enrich your career and become a JBoss professional, visit Tekslate, the global online training platform:" JBoss Training". This course will help you achieve excellence in this field.
Default JAAS Security Domain
Class Loading and Sharing
Session Management and Caching
Clustering and Load Balancing (in all config)
<jboss-web> <security-domain>java:/jaas/simple-security-domain</security-domain> </jboss-web> Tomcat’s server.xml Tomcat’s own configuration file: deploy/jbossweb.sar/server.xml Configures
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)
<Server> <!-- 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="org.jboss.web.tomcat.security.JBossWebRealm" certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping" allRolesMode="authOnly" /> ... <Host name="localhost"> ... <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve" cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager" transactionManagerObjectName="jboss:service=TransactionManager" /> </Host> </Engine> </Service> </Server>
Tomcat’s web.xml Default web descriptor for all web apps deployers/jbossweb.deployer/web.xml Configures
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.
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.