Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 65494 invoked from network); 16 Feb 2009 18:02:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2009 18:02:28 -0000 Received: (qmail 42219 invoked by uid 500); 16 Feb 2009 18:02:27 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 42002 invoked by uid 500); 16 Feb 2009 18:02:26 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 41993 invoked by uid 99); 16 Feb 2009 18:02:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 10:02:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 18:02:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E1153234C495 for ; Mon, 16 Feb 2009 10:02:04 -0800 (PST) Message-ID: <1298435636.1234807324920.JavaMail.jira@brutus> Date: Mon, 16 Feb 2009 10:02:04 -0800 (PST) From: "Richa Khurana (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1940) Exception when concurrently adding documents to Jack rabbit repository with clustering enabled In-Reply-To: <506323362.1232368919789.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674020#action_12674020 ] Richa Khurana commented on JCR-1940: ------------------------------------ This is not normal if you have a JR repo in DB. If 2 nodes cannot simultaneuly add documents to a JR repository then whats the point of clustering. Please help. > Exception when concurrently adding documents to Jack rabbit repository with clustering enabled > ---------------------------------------------------------------------------------------------- > > Key: JCR-1940 > URL: https://issues.apache.org/jira/browse/JCR-1940 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 1.5.0 > Environment: OS - Win 2000 > JackRabbit Jars - 1.5 > Reporter: Richa Khurana > > We have a enabled jackrabbit clustering. In this mode following exception occurs when 2 users simultaneouly add documents to Jack rabbit repository registered with node id 1 and 2 respectively- > 14:59:55,312 ERROR [DocumentHelper] Exception occurred while adding a manually uploaded document to the jackrabbit: > javax.jcr.InvalidItemStateException: cafebabe-cafe-babe-cafe-babecafebabe has been modified externally > at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1109) > at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:846) > Another observation is that when we disable clustering and both users have same node id in cluster configuration in repository.xml, the error doesnt appear. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.