Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52F189624 for ; Tue, 8 May 2012 10:30:59 +0000 (UTC) Received: (qmail 69137 invoked by uid 500); 8 May 2012 10:30:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 69007 invoked by uid 500); 8 May 2012 10:30:58 -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 68979 invoked by uid 99); 8 May 2012 10:30:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 10:30:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yavuzkavus@gmail.com designates 209.85.214.42 as permitted sender) Received: from [209.85.214.42] (HELO mail-bk0-f42.google.com) (209.85.214.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 10:30:48 +0000 Received: by bkcik5 with SMTP id ik5so10409303bkc.1 for ; Tue, 08 May 2012 03:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=VV8qDC7AzjsNOOMfBRVVpDAEkliIgLcsoSUISWO9iPQ=; b=hwGo80aq1pY6Eh/losgnRgTCHoezIOvszhb/cxn9b3Datqi5cgvjAkjbMVKpEx4Wg1 2yMJ9cqja3akX8yXcUIjr+3RpDMVI4JpmHMF/Iot4H2wU8W/ZL9BLg9PcBUTg2eiFTkG YzBbnXEHWukYa1nn8ySg8uj0zNTRUQ6z4fly5+PX8VcmH2Lud/SeGc8211GfjlCCOxdF sUeTWKYw5sfdoT+KzLgJCnaCXE2kWZ+0NgCD+7f6/rfYVeNTjHNTPnz4h9VtAL1C055m elpHkUFwzQ04wCumQH8nsRIvf/LTrJX9uHGzTXJpMtj6Jzlh2lfLpoBEVVEBOZW8UXyP cJjQ== Received: by 10.204.9.199 with SMTP id m7mr6661037bkm.66.1336473028163; Tue, 08 May 2012 03:30:28 -0700 (PDT) Received: from [192.168.0.73] ([79.123.181.30]) by mx.google.com with ESMTPS id gm18sm37838067bkc.7.2012.05.08.03.30.24 (version=SSLv3 cipher=OTHER); Tue, 08 May 2012 03:30:25 -0700 (PDT) Message-ID: <4FA8F5BC.9090808@gmail.com> Date: Tue, 08 May 2012 13:30:20 +0300 From: Yavuz Kavus User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Connection leaks on JCA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi. We are using jackrabbit on glassfish as jca adaptor. The connection is gotten as : Context ctx = new InitialContext(); repository = (Repository)ctx.lookup("jcr/Repository"); //this session used throughout full request. (ThreadLocal) Session requestSession = ...; After a while(usually 5 minutes) using connection, we are getting: WARNING: A potential connection leak detected for connection pool jackrabbit-jca-pool. Every taken session is being closed at the end of related request. What may be the reason of the problem, any idea? Thanks.