Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 47573 invoked from network); 18 Dec 2006 13:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 13:22:28 -0000 Received: (qmail 92684 invoked by uid 500); 18 Dec 2006 13:22:36 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 92421 invoked by uid 500); 18 Dec 2006 13:22:35 -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 92412 invoked by uid 99); 18 Dec 2006 13:22:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 05:22:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 05:22:24 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GwIRQ-0004h0-11 for users@jackrabbit.apache.org; Mon, 18 Dec 2006 05:22:04 -0800 Message-ID: <7928633.post@talk.nabble.com> Date: Mon, 18 Dec 2006 05:22:04 -0800 (PST) From: vetalok To: users@jackrabbit.apache.org Subject: Multi-threding, Node.restore() method MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vetalok@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi all I have a code like: Repository repository = new TransientRepository(); new JCRThread(repository.login(...)).start(); new JCRThread(repository.login(...)).start(); ... Each JCRThread must to do Node.restore() method I have 5 threads, they all are doing Node.restore() method. If I run my programm 2 or more times my program is hanging (first launch may hang too). My repository.xml and workspace.xml are configured for the hsqldb. IMHO the prb is concurrent access to DB (DB.lock file). How can I resolve this problem? Is this jackrabbit problem? Other jcr implementation (non-jackrabbit) works fine. -- View this message in context: http://www.nabble.com/Multi-threding%2C-Node.restore%28%29-method-tf2839877.html#a7928633 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.