From users-return-8557-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Aug 05 15:49:55 2008 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 25151 invoked from network); 5 Aug 2008 15:49:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2008 15:49:55 -0000 Received: (qmail 65955 invoked by uid 500); 5 Aug 2008 15:49:54 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 65486 invoked by uid 500); 5 Aug 2008 15:49:53 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 65475 invoked by uid 99); 5 Aug 2008 15:49:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 08:49:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tmueller@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 15:48:57 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 7CF5E50823; Tue, 5 Aug 2008 17:48:16 +0200 (CEST) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by goobak01.day.com (Postfix) with ESMTP id 1454C5081F for ; Tue, 5 Aug 2008 17:48:15 +0200 (CEST) Received: by yx-out-2324.google.com with SMTP id 8so230055yxg.31 for ; Tue, 05 Aug 2008 08:49:03 -0700 (PDT) Received: by 10.151.45.6 with SMTP id x6mr1637906ybj.105.1217951343803; Tue, 05 Aug 2008 08:49:03 -0700 (PDT) Received: by 10.150.54.21 with HTTP; Tue, 5 Aug 2008 08:49:03 -0700 (PDT) Message-ID: <91f3b2650808050849r5700b7c9x8b3fd1b21752bda3@mail.gmail.com> Date: Tue, 5 Aug 2008 08:49:03 -0700 From: "=?ISO-8859-1?Q?Thomas_M=FCller?=" Sender: tmueller@day.com To: users@jackrabbit.apache.org Subject: Re: Jackrabbit + Mysql + Connection timeout In-Reply-To: <48986E62.60005@zensistemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2bf201c8f6fb$d5630640$802912c0$@co.uk> <91f3b2650808050736j2d895da1kc1d3029dd31ceb8f@mail.gmail.com> <48986E62.60005@zensistemi.com> X-Google-Sender-Auth: ff5a6cf21724521a X-Virus-Checked: Checked by ClamAV on apache.org Hi, > I've a web application that runs on jboss-4.2.2. with Hibernate and EJB3. I > implemented the connection manager c3p0 for solving a problem of connection > timeout with mysql database. now i've found out that jackrabbit has this > problem too. In Jackrabbit 1.4, bundle persistence managers support auto-reconnect. I suggest to use the org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager See also: http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ Regards, Thomas