Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 81172 invoked from network); 12 Mar 2011 23:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Mar 2011 23:25:21 -0000 Received: (qmail 3384 invoked by uid 500); 12 Mar 2011 23:25:21 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3351 invoked by uid 500); 12 Mar 2011 23:25:21 -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 3344 invoked by uid 99); 12 Mar 2011 23:25:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Mar 2011 23:25:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Mar 2011 23:25:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6762D3A66F2 for ; Sat, 12 Mar 2011 23:24:59 +0000 (UTC) Date: Sat, 12 Mar 2011 23:24:59 +0000 (UTC) From: "julien revel (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <2058586161.15738.1299972299419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (JCR-2913) Shared nodes disappear suddenly - Database corruption : Cannot delete nodes anymore : Error is Node with id 'X" does not have shared parent with id: 'Y' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Shared nodes disappear suddenly - Database corruption : Cannot delete nodes anymore : Error is Node with id 'X" does not have shared parent with id: 'Y' -------------------------------------------------------------------------------------------------------------------------------------------------------- Key: JCR-2913 URL: https://issues.apache.org/jira/browse/JCR-2913 Project: Jackrabbit Content Repository Issue Type: Bug Reporter: julien revel Priority: Critical This problem occurs on a following configuration - JCR 2.3 Snapshot - Tomcat 6 - Postgresql 9.0 Jackrabbit is embedded within a Spring application, that communicates with clients in AMF format (Flex client) The symptom is that some shared Nodes have disappeared from the repository, without having deleted by our application (and we checked a lot already). Then, repository seems to be corrupted, because it becomes impossible to delete any ancestor node of those having disappear. The error is not reproducible, it may happen at any time, it is random. Sometimes, with a fresh base, after creating some nodes, sometimes it happens after a while, when playing with the application. It never happened on Jetty/Derby development server, but always happened on servers with Postgres, even with a single user. I guess it is not a bug in JCR, but that we provoked the problem in some way. Maybe by multi-threading ? However, for each remote call that send data to write, we create a new JCRSession, then save it multiple times, then close it. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira