Thanks. An example of the <Manager .../> element was not included in the sample server.xml in Tomcat 5.0.19

FYI (and for the archives) in Tomcat 5 (which I think has slightly different parameters than Tomcat 4), the following seems to work (although it's hard to test):

       <Manager classname="org.apache.catalina.session.StandardManager"
                distributable="false"
                pathname="/dev/null" />

I put it in the <Host ...> element (the Tomcat documentation was a bit opaque on this) and that seems to work.

bw

Tim Funk wrote:

(I have not tested this, but try)
<Manager pathname="/dev/null"/>

Or the example server.xml in tomcat4.1 has this:
<Manager className="org.apache.catalina.session.PersistentManager"
debug="0"
saveOnRestart="true"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>


Change saveOnRestart="true" to saveOnRestart="false"

-Tim

Barnet Wagman wrote:

Is there an example of Manager element anywhere on the web?

(Neither the Tomcat documentation nor the sample server.xml that comes with Tomcat has an example as far as I can tell)

Thanks

Tim Funk wrote:

http://jakarta.apache.org/tomcat/faq/misc.html#persist

-Tim

Barnet Wagman wrote:

Is it possible to disable session serialization? If so how is it done,
and is it bad idea? Is this documented anywhere?



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to