Tomcat Administration

  • Implement the Tomcat application server, whether for testing, development, or production needs in a corporate environment

System administrators, operators, integrators and designers with knowledge of JavaEE components.

Basic knowledge of Web technologies, Java / Web architecture (JSP / Servlet) and servers Level: Basic

3 Days.

For “Distance” training, they are carried out with a Teams or Zoom type videoconferencing tool depending on the case, allowing the trainer to adapt his teaching. Find on our website all the details on distance sessions or classes virtual.

Basic concepts

The architecture of web applications: the different components Presentation of Tomcat The versions of Tomcat Using Tomcat with the web server Apache Servlets, JSP and components, architecture of a Java site


Installation of Tomcat and modification of the basic parameters Exercise: installation of the Tomcat server, setting of the environment variables, starting the server, operational tests


Tomcat architecture: “engine”, services, “context” The tree structure, environment variables: JAVA_HOME, TOMCAT_HOME, CLASSPATH

Console Manager

Presentation, available functions: server status Access to documentation, to the administration console

Deployment of web applications

XML descriptors, .war files Hot deployment
Tomcat Manager Practical Work: Deploying a Simple Application Using the Tomcat Administration Interface

Admin console

Practical work: installation and configuration of access rights in the tomcat-users.xml file Available functions: list of ports listened to by tomcat for http requests, applications deployed on each virtual host, configuration of connectors, security, (users, groups, roles), data sources


Security and permissions. Domains, roles: definitions, principle of operation and configuration User management, modification of roles, password management Security information storage: JDBC, Datasource, JNDI, JAAS, memory Security Manager Practical work: configuration of security domains, creation and assignment of users, specification of protected pages, implementation of passwords

Configuration files

Study of the parameters to be placed in the server.xml file, the server, engine, host, context, logger, loader tags The web.xml deployment descriptor: servlet declaration, link between the servlet and the request Data source configuration: presence drivers, optimization of connection parameters Practical work: setting up a driver for access to a postgreSQL database Connectors: the connector tag HTTP connector, Tomcat standalone operation Security: configuration of the https protocol

Performances and tests

Load management: load-balancing Setting up clusters Apache / tomcat interface with mod-jk Practical work: installation and configuration of a mod_jk dispatcher Sessions conservation: setting up sticky sessions


Implementation of logging with log4J Log analysis Log files, problem solving Practical work: configuration of Log4j Modifying log levels Various types of ventilation Centralization of logs to an external syslog machine


JMX integration Performance monitoring Garbage collector monitoring with jconsole JVM parameters to better manage memory space
Practical work: putting under stress with jmeter, monitoring and improvement of the configuration