To create a context in the web - inf. XML file
Written inside the
& lt; Context>
& lt; Manager the className="org. Apache. Catalina. Session. PersistentManager" maxIdleSwap="1" & gt;
& lt; Store the className="org. Apache. Catalina. Session. FileStore" directory="/session/& gt;"
& lt;/Manager>
& lt;/Context>
But no passivation for 1 minute