...
You can customize the session management behaviour per web application context in your deployment plan as follows:
Code Block |
---|
| xml |
---|
| xml |
---|
title | Usage of StandardManger in geornimo-web.xmlxml |
---|
|
...
<manager>TomcatManager</manager>
<gbean name="TomcatManager" class="org.apache.geronimo.tomcat.ManagerGBean">
<attribute name="className">org.apache.catalina.session.StandardManager</attribute>
<attribute name="initParams">maxActiveSessions=10
</attribute>
</gbean>
...
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | Usage of PersistentManger in geornimo-web.xmlxml |
---|
|
...
<manager>TomcatManager</manager>
<gbean name="TomcatManager" class="org.apache.geronimo.tomcat.ManagerGBean">
<attribute name="className">org.apache.catalina.session.PersistentManager</attribute>
<attribute name="initParams">maxActiveSessions=10
maxIdleBackup=10
maxIdleSwap=11
minIdleSwap=5
store.className=org.apache.catalina.session.FileStore
store.checkInterval=10
store.directory=d:/testFolder/session
</attribute>
</gbean>
...
|
...