Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85058DBC1 for ; Wed, 6 Feb 2013 14:25:26 +0000 (UTC) Received: (qmail 1897 invoked by uid 500); 6 Feb 2013 14:25:26 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 1842 invoked by uid 500); 6 Feb 2013 14:25:26 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 1813 invoked by uid 99); 6 Feb 2013 14:25:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 14:25:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daddywri@gmail.com designates 209.85.128.177 as permitted sender) Received: from [209.85.128.177] (HELO mail-ve0-f177.google.com) (209.85.128.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 14:25:19 +0000 Received: by mail-ve0-f177.google.com with SMTP id m1so1198179ves.22 for ; Wed, 06 Feb 2013 06:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=X1soaNxcJ+PsvOoESn3okX8PF+xoi6ka1wPJyZ/w2ck=; b=fMqImXmNsE0vEulGHk9lRW1t9z+u6JrBiWxL/FrOpbd+NyXkau5kExyWLjhiCBOlic 39CuUTLpQ+l1StzpMLMYIXOS45WmfhSKsGdZ73KDeaxLhDaxmYyp4/oHuN3WSfLH8K9m s+qAxmk/gfow6svl7yYP94V9vxBter/13HTtUF4DRq2rkzKRj1/EnA57EPgqbEpo2PIX ySCe8Smnf/Wcnl+u4i29gSCV8DdoEtiM9AEA5zwU01ySSaa03ABYmYIX1hn7s1Ztw7Iz vrEfxjymN0w3P6jo1m49gBz6/yyV40uYD57tXNIJc+OnlPkUzdQ+v7UxT25GHx/t/DJx zDBA== MIME-Version: 1.0 X-Received: by 10.52.71.174 with SMTP id w14mr28719927vdu.122.1360160698718; Wed, 06 Feb 2013 06:24:58 -0800 (PST) Received: by 10.58.233.243 with HTTP; Wed, 6 Feb 2013 06:24:58 -0800 (PST) In-Reply-To: <51126252.1030506@usit.uio.no> References: <51025DC7.8000702@usit.uio.no> <510BAACB.5050201@usit.uio.no> <510BAEA9.70300@usit.uio.no> <5110FD4A.6040006@usit.uio.no> <51122706.2040709@usit.uio.no> <511244E4.4020102@usit.uio.no> <51124947.7080309@usit.uio.no> <511251AE.3050805@usit.uio.no> <511255A6.4070908@usit.uio.no> <51126252.1030506@usit.uio.no> Date: Wed, 6 Feb 2013 09:24:58 -0500 Message-ID: Subject: Re: max_pred_locks_per_transaction From: Karl Wright To: user@manifoldcf.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The jobsforcedparam table is a crawler core database table that was added as part of CONNECTORS-552. It should be created or added as part of the crawleragent register command. If this command is failing, you will need to determine why. FWIW, schema creation has been working fine here, and all tests that exercise the schema have been passing fine as well. Karl On Wed, Feb 6, 2013 at 9:01 AM, Erlend Gar=E5sen = wrote: > On 06.02.13 14.14, Karl Wright wrote: >> >> The database instance create logic should do nothing if the instance >> already exists. In fact, that is how it is coded throughout. The >> expected deployment model is to execute all the operations you would >> normally do, in the same order, including connector registration, >> every time you update the ManifoldCF software. If you want to skip >> the database instance creation, you can't use initialize.bat it is >> true, but you can do everything that it would be doing through the use >> of individual ManifoldCF commands, e.g.: >> >> org.apache.manifoldcf.agents.Initialize >> org.apache.manifoldcf.agents.RegisterAgent >> etc. > > > Yes, and this is actually a part of our deployment steps since we cannot = use > initialize.sh. One of these commands failed, so I just emptied the databa= se > manually. > > The problem now is that I'm still getting the error while I'm trying to v= iew > my jobs. Same error: > org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database > exception: SQLException doing query (42P01): ERROR: relation > "jobforcedparams" does not exist > > This is what I ran after I emptied my database: > > 1. org.apache.manifoldcf.agents.Install > > 2. org.apache.manifoldcf.agents.Register > org.apache.manifoldcf.crawler.system.CrawlerAgent > > 3. org.apache.manifoldcf.crawler.Register > org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector > WebCrawler > > 4. org.apache.manifoldcf.agents.RegisterOutput > org.apache.manifoldcf.agents.output.solr.SolrConnector SolrConnector > > Should I have performed org.apache.manifoldcf.agents.Initialize as well? = I > have never ran that command class before, probably bevause it tries to > create the database? > > Is jobforcedparams something related to connection tracking? > > Erlend > > > -- > Erlend Gar=E5sen > Center for Information Technology Services > University of Oslo > P.O. Box 1086 Blindern, N-0317 OSLO, Norway > Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 310= 50