Manager

An instance of the org.apache.catalina.Manager interface is responsible for managing the sessions for a given context.

Manager

As shown in the previous image, the main responsibilities of a Manager include creating and managing the session instances for its context.

It is specified using the<Manager> element in server.xml, which has attributes such as the maximum inactive interval, also known as the session's timeout, and the session identifier length. These attributes are used as defaults for the sessions created by this manager.

Its load() and unload() methods support the persistence of sessions to secondary storage. These methods do nothing when ...

Get Tomcat 6 Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.