Return-Path: Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: (qmail 90850 invoked from network); 5 Oct 2010 18:46:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Oct 2010 18:46:24 -0000 Received: (qmail 29061 invoked by uid 500); 5 Oct 2010 18:46:24 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 29034 invoked by uid 500); 5 Oct 2010 18:46:24 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 29027 invoked by uid 99); 5 Oct 2010 18:46:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 18:46:24 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 18:46:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o95Ik0ld022691 for ; Tue, 5 Oct 2010 18:46:00 GMT Date: Tue, 5 Oct 2010 14:46:00 -0400 (EDT) From: confluence@apache.org To: connectors-commits@incubator.apache.org Message-ID: <122648.21372.1286304360016.JavaMail.confluence@thor> Subject: [CONF] Apache Connectors Framework > How to Build and Deploy ManifoldCF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS) Page: How to Build and Deploy ManifoldCF (https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Build+and+Deploy+ManifoldCF) Comment: https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Build+and+Deploy+ManifoldCF?focusedCommentId=23339983#comment-23339983 Comment added by Karl Wright: --------------------------------------------------------------------- The code is not executing inside transaction at this point, so it is puzzling how Derby could wind up throwing persistent locks across statements, which is what you need to do to cause deadlock to occur.  The only possibility I can think of is that there's a bug in the ManifoldCF Derby database implementation class that's causing transactions to persist.  The only other alternative is a bug in Derby itself. I can find this if it happens enough to trigger the deadlock regularly. How often does this happen to you?  I have never seen it before myself. In any case, please do open a Jira ticket, since this is certainly the wrong forum for problems of this kind. Karl\\ In reply to a comment by Farzad: Ran into problem with quick-start and thought I might have better luck if I manually setup the system. Maybe you can shed a light on the quick-start problem. Here is what happened, after running start.jar, I went to the crawler UI, configured a null output and a file system repo connector. Created a job pointing to a file share \\host\share and started the job. After a few seconds I ran into the error message below in the job status panel. It said 60 docs found, 9 active, and 52 processed. Any ideas as to why I'm seeing this? {color:#000000}{*}Error: A lock could not be obtained due to a deadlock, cycle of locks and waiters is: Lock : ROW, INGESTSTATUS, (1,57) Waiting XID :*{color} {6293, X}{color:#000000}*, APP, DELETE FROM ingeststatus WHERE urihash=? AND dockey\!=? AND connectionname=? Granted XID :*{color} {6305, X}{color:#000000}{*}Lock : ROW, INGESTSTATUS, (1,55) Waiting XID :*{color} {6305, X}{color:#000000}*, APP, INSERT INTO ingeststatus (id,changecount,dockey,lastversion,firstingest,connectionname,authorityname,urihash,lastoutputversion,lastingest,docuri) VALUES (?,?,?,?,?,?,?,?,?,?,?) Granted XID :*{color} {6293, X}{color:#000000}*. The selected victim is XID : 6293.*{color} Thanks\! Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action