Sun Java System Web Server 6.1 SP7 Programmer's Guide to Web Applications

Enabling MMapSessionManager

You may want to enable MMapSessionManager to change its default parameters. You can also enable MMapSessionManager for a particular context if the server is running in single-process mode. To do so, edit the sun-web.xml file for the web application as in the following example. Note that persistence-type must be set to mmap.

            <session-manager persistence-type=”mmap”>

For more information about the sun-web.xml file, see Chapter 7, Deploying Web Applications