Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 82200 invoked from network); 9 May 2007 02:28:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 02:28:46 -0000 Received: (qmail 12381 invoked by uid 500); 9 May 2007 02:28:47 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 12283 invoked by uid 500); 9 May 2007 02:28:47 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 12031 invoked by uid 99); 9 May 2007 02:28:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 19:28:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [68.142.207.145] (HELO web32214.mail.mud.yahoo.com) (68.142.207.145) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 May 2007 19:28:36 -0700 Received: (qmail 67812 invoked by uid 60001); 9 May 2007 02:28:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=PY0l+fov2rzEg27WIKhMcowKR0mcslNU3jh8lpAYtDvxCsgDCPMv3/ot7ZQBPJHpuPil1xrH3EWhwNFI/yUHiaXeL7C7pzoPBxfZM11BKpFg3c9aYVSLEpDyKJGF/eQMSV2WZpTu+v+z74ByBpJ8wgWMAyahYH5Oj8MBCKGZrLY=; X-YMail-OSG: jdT5Q3kVM1nXnqiVLAQyuTRtdsIjOo3TeMgsququqpgu19GQRura2ICDusyfF1kZXWqMH9joEFtxYfzNIjPKY77mO_5QMTMzAQ1DRjAY0_BYmWVs8t0- Received: from [202.178.112.80] by web32214.mail.mud.yahoo.com via HTTP; Tue, 08 May 2007 19:28:15 PDT Date: Tue, 8 May 2007 19:28:15 -0700 (PDT) From: Jerome Benezech Reply-To: jbenezech@bigfoot.com Subject: embedded eXist won't startup on Linux prod To: users@cocoon.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <597576.67226.qm@web32214.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi all, My application uses cocoon 2.2 and an embedded eXist database. The eXist part runs well on my developpement environement (XP, jetty) but I run into problems deploying it on my production server (Linux, tomcat 5.5.9). After (re)starting the webapp, I connect to my base URL and get the "Local Database Server is not running" message. At that point, eXists seem to have started correctly (exist.log) and no error besides the "Database not running" can be found in cocoon.log or tomcat log. I manage to start it eventually doing the following: - delete the lock file dbx_dir.lck on the database - delete the lock file WEB-INF/data/journal.lck - access directly the exist servlet in the URL: http://domain.com/mywebapp/servlet/db/../resource.xml After doing that, I can access my cocoon URL with no problem. But this is off course not a viable solution for a production environement. My prod environement is running on a shared Linux account so I do not have control over the tomcat part. Any idea where this problem could come from ? One big difference between dev and prod is of course Linux permissions. I installed my app using my user account but the web server is running as tomcat:nobody. So I guess tomcat:nobody needs permissions to some directories. I for now (to get started until I find a better solution) gave full permission (777) to the database and logs directories. Any help appreciated. Jerome Jerome Benezech jbenezech@yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org