Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 70213 invoked from network); 21 Oct 2009 07:48:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 07:48:30 -0000 Received: (qmail 73891 invoked by uid 500); 21 Oct 2009 07:48:29 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 73859 invoked by uid 500); 21 Oct 2009 07:48:29 -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 73848 invoked by uid 99); 21 Oct 2009 07:48:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 07:48:29 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of radu.anna@gmail.com designates 209.85.220.210 as permitted sender) Received: from [209.85.220.210] (HELO mail-fx0-f210.google.com) (209.85.220.210) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 07:48:27 +0000 Received: by fxm6 with SMTP id 6so7056809fxm.43 for ; Wed, 21 Oct 2009 00:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=O3WhTXATD+Cht5ErQ5FhVZU16yBlIazuSKHkCvey++M=; b=Wjl8Ssz9x3/rvZDHAJXo/gtNN1/7CXX9hv7H5fWE0myzXOde8gu/v0lazSpaicKuJB 1Wr1RTJi3qYynHP+szZuGs6N2182dTFaUpQbz3X5TOdNMu1V5jtRowLXkpu1u9bazM0R PMYjdzeNQ3v+2+/k+jc9/T5TN9m4LKCb2buJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Tdm+yNoveboukRdX3vTfQK21SG23JdFOWwvepDzqRA5E246ezziV+HnFH7JoeTR2N1 MYhr0dXL4vYo21rePrmckNPojPY7B50AVSY4iwVAIgL7CIzFu6C09scpRHbSN3X3c1nr TMKCPrFFOD6dd/3vNXC54tH5lg5yHWd2VBvhM= MIME-Version: 1.0 Received: by 10.204.157.21 with SMTP id z21mr7528187bkw.160.1256111285664; Wed, 21 Oct 2009 00:48:05 -0700 (PDT) Date: Wed, 21 Oct 2009 10:48:05 +0300 Message-ID: <5422153f0910210048p768fc86cxf0cdb0962d2c31ef@mail.gmail.com> Subject: many sessions remain unclosed From: Radu Ana-Maria To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=0015175cd1e8fafe5a04766d32f4 --0015175cd1e8fafe5a04766d32f4 Content-Type: text/plain; charset=ISO-8859-1 hello, I'm working with: jackrabbit 1.5.6 + postgresql 8.4 , and i found a little problem in my code with unclosed session even if i do session.logout() for each new session. for example: *sessionPPL = repository.login(credentials); workspaceList = sessionPPL.getWorkspace().getAccessibleWorkspaceNames(); for (String x : workspaceList ) { sessionInUse = repository.login(credentials, x); // and here i do something else.. like add some nodes etc. sessionInUse .save(); sessionInUse .logout(); } sessionPPL .logout();* and when i open the postgreSQL admin i see that i have more then 80 session opend and not closed by jackrabbit. -- sessionInUse .logout(); must stop the session opend in postgreSQL? or not? if not, how can i stop this sessions from postgreSQL. the api say: *public void logout() -- Releases all resources associated with this Session. This method should be called when a Session is no longer needed.* Any help would be greatful Thanks, ana r. --0015175cd1e8fafe5a04766d32f4--