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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.