Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 5487 invoked from network); 7 Dec 2005 07:03:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 07:03:50 -0000 Received: (qmail 63584 invoked by uid 500); 7 Dec 2005 07:03:43 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 63545 invoked by uid 500); 7 Dec 2005 07:03:43 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 63534 invoked by uid 500); 7 Dec 2005 07:03:43 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 63531 invoked by uid 99); 7 Dec 2005 07:03:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 23:03:43 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.26.193.89] (HELO server3.software-ag.de) (193.26.193.89) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 23:03:41 -0800 Received: from server3.software-ag.de (localhost [127.0.0.1]) by localhost.software-ag.de (Postfix) with ESMTP id C6A72643F6 for ; Wed, 7 Dec 2005 08:03:18 +0100 (CET) Received: from DAEMSG03.eur.ad.sag (daemsg03b.eur.ad.sag [10.20.160.62]) by server3.software-ag.de (Postfix) with ESMTP id B73005FD99 for ; Wed, 7 Dec 2005 08:03:18 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5FAFC.4DEDDADC" Subject: Tomcat session serialisation & work directory Date: Wed, 7 Dec 2005 08:03:19 +0100 Message-ID: <4A56A7900065A44BB559A2C929597BB7011E9489@DAEMSG03.eur.ad.sag> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat session serialisation & work directory Thread-Index: AcX6/EDhcwARiKUfShO+N7+MJplotQ== From: "Chaudhuri, Hiran" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5FAFC.4DEDDADC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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? Hiran ------_=_NextPart_001_01C5FAFC.4DEDDADC--