Sun Java System Web Server 7.0 Developer's Guide to Java Web Applications

Enabling memory

You can specify memory explicitly to change its default parameters. 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 memory.

           <session-manager persistence-type=”memory”>
                 <property name="reapIntervalSeconds" value="20" />

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