Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 89200 invoked from network); 9 Jan 2008 11:29:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2008 11:29:15 -0000 Received: (qmail 40359 invoked by uid 500); 9 Jan 2008 11:29:04 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 40334 invoked by uid 500); 9 Jan 2008 11:29:03 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 40325 invoked by uid 99); 9 Jan 2008 11:29:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2008 03:29:03 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jamin.short@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2008 11:28:38 +0000 Received: by py-out-1112.google.com with SMTP id u77so292433pyb.15 for ; Wed, 09 Jan 2008 03:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=w1npUlfCJ7WUbtwLsFucNbiDZVS/O2zBAB0jZeLuMGI=; b=dwna8ChDSJJnuRi91qMj+MI96Ng87NdVH0suCh+h6BuArtyqSfDQ5GR623V1YSucFD8RjfsDzKQLaiPvpgjiWy7Vf6qFWEL2c9SR1j8SZQujUYwzynWTEbFDqNOAen9rzkAVDkcCMXrpfIKxFyNINskKjRvozAd4wIt1gjPe8LY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ro5XZCEN/6utOQkaMzAAUZ9y5FJuLRVYsCuYmYKDRJ4n4CieJUhzxkINPMWVPlw0M6QbtNpyJzCnaagDCPYcqvAvkcBHAojvmjZpVX+PqyIAaoLpDEC+rXnPDuBxSriay5z3VbWohdWBRU+mARHKblDhpPTALMY3Am5QmuzUGf4= Received: by 10.64.241.3 with SMTP id o3mr1344966qbh.16.1199878122832; Wed, 09 Jan 2008 03:28:42 -0800 (PST) Received: by 10.65.107.18 with HTTP; Wed, 9 Jan 2008 03:28:42 -0800 (PST) Message-ID: <86aa493a0801090328h41090157lacb033114613cca1@mail.gmail.com> Date: Wed, 9 Jan 2008 11:28:42 +0000 From: "ben short" To: users@jackrabbit.apache.org Subject: Re: Shared session pool In-Reply-To: <14707938.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14707938.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org You might want to look at the apache commons pool [1] instead of rolling your own. [1] http://commons.apache.org/pool/ On Jan 9, 2008 9:59 AM, Andrea K. wrote: > > > Hi Alex, > I attached the code. As you can see is not complex. > Logout are never done for readonly sessions, but only for admin (write) > operations. > Every X minutes sessionpool is purged and new sessions are created. Obsolete > sessions are logged out or expire automatically. > > Thanks a lot for your help. > BR. > A. - http://www.nabble.com/file/p14707938/session_pool.java > session_pool.java > -- > View this message in context: http://www.nabble.com/Shared-session-pool-tp14486499p14707938.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >