Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 30847 invoked from network); 16 May 2008 12:27:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 12:27:40 -0000 Received: (qmail 51239 invoked by uid 500); 16 May 2008 12:27:41 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 51220 invoked by uid 500); 16 May 2008 12:27:41 -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 51177 invoked by uid 99); 16 May 2008 12:27:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 05:27:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [210.18.57.150] (HELO primemail.knowledgeinfotech.com) (210.18.57.150) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 12:26:54 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: node.checkin() Date: Fri, 16 May 2008 17:56:24 +0530 Message-ID: In-Reply-To: <7E79528FEA116746A9B896C817C51E5B02D57C67@athexm01.corp.ad.diginsite.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: node.checkin() Thread-Index: Aci2voQOQCZ2roynT1SLNZJ5s4Y6QAAAT3pgAAwhd0cAF1vLYAAAkx4Q From: "Anil K. Kotha" To: X-Virus-Checked: Checked by ClamAV on apache.org I am using Derby Internal PM. -----Original Message----- From: Conoly, Brett [mailto:Brett.Conoly@digitalinsight.com]=20 Sent: Friday, May 16, 2008 5:41 PM To: users@jackrabbit.apache.org Subject: RE: node.checkin() Ok, what persistence manager are you using? Some are not transactional and do not support versions very well. -----Original Message----- From: Anil K. Kotha [mailto:Anilk@2xprime.com]=20 Sent: Thursday, May 15, 2008 9:01 PM To: users@jackrabbit.apache.org Subject: RE: node.checkin() Yes i am sure.. that it is closing the connections and our repository of size 70GB. =20 =20 Thanks, Anilk. ________________________________ From: Conoly, Brett [mailto:Brett.Conoly@digitalinsight.com] Sent: Fri 5/16/2008 12:45 AM To: users@jackrabbit.apache.org Subject: RE: node.checkin() Interesting, I ran into a similar problem but I was using Day's CRX demo and tomcat so I assumed either the demo had restrictions or tomcat was having trouble handling the multi-threads. But how do you have the connection set up and are you certain you're closing all connections once their finished? -----Original Message----- From: Anil K. Kotha [mailto:Anilk@2xprime.com] Sent: Thursday, May 15, 2008 3:05 PM To: users@jackrabbit.apache.org Subject: node.checkin() Hi All, I am using jackrabbit on Jboss server. I have a method which can be accessed by multiple users. In the method i have following three statements. Node node =3D rootNode.getNode("document"); node.checkout(); node.setProperty("fileName",fileINputStream); node.save(); session.save(); node.checkin(); for a single user it is working properly. but when multiple threads are accessing the method it struck at node.checkin() statement. It is executing all the above statements. how to overcome this issue? any suggestions welcome. THanks in advance. Thanks, Anilk.