tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaudhuri, Hiran" <>
Subject Tomcat session serialisation & work directory
Date Wed, 07 Dec 2005 07:03:19 GMT
Hi there.

In my special setup I need Tomcat to use a different work directory.
This is set in server.xml with the context attribute workDir.
Tomcat will compile all JSPs in the desired location, so far so good.

But I also see the file SESSIONS.ser being created after each Tomcat
run, and that file is in the default work dir location. I need not have
the file, but I must not have it inside my tomcat installation
directory. I tried to deactivate session persistence as documented but
the file always gets created. Meanwhile I created a new Manager that
just does nothing in its load() and store() methods, but still the
SESSIONS.ser file gets created.

How can I completely deactivate that file, or move it to the context's
work directory?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message