Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 24216 invoked by uid 500); 19 Apr 2001 10:33:35 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24207 invoked from network); 19 Apr 2001 10:33:32 -0000 Received: from unknown (HELO vha0302) (213.160.200.11) by h31.sny.collab.net with SMTP; 19 Apr 2001 10:33:32 -0000 Received: from NicodenBoer (unverified [194.134.208.46]) by vha0302 (Rockliffe SMTPRA 4.2.4) with SMTP id for ; Thu, 19 Apr 2001 12:34:38 +0200 Message-ID: <004001c0c8bc$8f2a6120$2ed086c2@NicodenBoer> From: "H.F.N. den Boer" To: "Tomcat users group" Subject: Re: Cleaning up servlets Date: Thu, 19 Apr 2001 12:36:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N The main question here is when Tomcat or the JVM decides that a servlet can be garbage collected. Objects that I store in a session (shopping carts) are cleaned up perfect. However, servlets are not cleaned up until I shut down the NT service manually. In Apache webserver with JServ there is (if my memory serves well) a setting for the maximum lifetime of a servlet after the last hit (doGet or doPost). In Tomcat with IIS I don't know how to set this or how it is arranged "automatically". That's why I asked... Nico ----- Original Message ----- From: "H.F.N. den Boer" To: "Tomcat users group" Sent: Thursday, April 19, 2001 10:42 AM Subject: Cleaning up servlets