Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 56295 invoked from network); 7 May 2008 16:05:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 16:05:47 -0000 Received: (qmail 36034 invoked by uid 500); 7 May 2008 16:05:46 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 36024 invoked by uid 500); 7 May 2008 16:05:46 -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 36012 invoked by uid 99); 7 May 2008 16:05:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 09:05:46 -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 insomniacpenguin@googlemail.com designates 74.125.46.157 as permitted sender) Received: from [74.125.46.157] (HELO yw-out-1718.google.com) (74.125.46.157) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 16:04:59 +0000 Received: by yw-out-1718.google.com with SMTP id 6so192995ywa.78 for ; Wed, 07 May 2008 09:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4bj+hxR5sDhECP9x7Q4HAwa3oiAiCGJUNs9M0ky96Sk=; b=DxQPYj9pXRzFCqjLAADCjQriukwud0GDW1f6CL8oSrjJjKgYvIIDZntmJGj3+VVcMFGcWfokri+TwLbXRs076UnimFquz9BRkfetXXFai8Ex4V/TArzwcr9GVtEFEmZDszZVyrUUoq6Dt8hEolMFEHsjpeicz20NO0QXRO9EaS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tYy3nXbukudPqfrD7MYUCUZjgyhlK7L6Iy0UQ7Tlo2sVxaBoT2uWEEFYMrwL7i2TeJiBW/S3Ym4hT1zssJIYpiEXr0HGbDvX+IwYbpzDv+tDDzUo8yIliPSo254+nbygRjaMzj7fMu9GwEdTFLgTSZaMkbiqfSN7Xwf0pP7gh2g= Received: by 10.150.78.41 with SMTP id a41mr2181763ybb.182.1210176312326; Wed, 07 May 2008 09:05:12 -0700 (PDT) Received: by 10.70.24.5 with HTTP; Wed, 7 May 2008 09:05:12 -0700 (PDT) Message-ID: Date: Wed, 7 May 2008 17:05:12 +0100 From: "Andy Stevens" To: users@cocoon.apache.org Subject: Re: Database connection problems In-Reply-To: <4821C83C.5CE9.00D4.0@csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4821C83C.5CE9.00D4.0@csir.co.za> X-Virus-Checked: Checked by ClamAV on apache.org 2008/5/7 Derek Hohls : > Using Cocoon 2.1.8 > > I have an app which has been working fine... up to now. > I am now in a situation where: > * the "plain" pages on the website (ie. not accessing the > database) display just fine > * I can access the database from a 3rd party tool (the > MySQL Query Browser) without any problems > > BUT I am unable to retrieve any database data via the > interface... the browser simply shows me its hourglass > and there is no further response. I have looked at the > Cocoon log and the Tomcat log but even the URLs do > not show up in these. Are you sure Cocoon is actually managing to connect to the database? You say "there is no further response" - how long are you waiting? I'm not sure about the other database components, but certainly in the case of the SQLTransformer if it can't get a connection it will (by default) retry 5 times at 5 second intervals, so it could be 30 seconds before you actually get an error message returned. And if it's waiting on a TCP-level timout ConnectException (e.g. because the port is blocked by a firewall and the packets are being dropped rather than actually rejecting the connection) that could involve a 20 second timeout in itself... I'd have thought you'd still see something in Cocoon's errors.log or handled-errors.log, though. You say you can access the database okay yourself; is the application running locally on the same machine, or is it deployed on some other server? Andy -- http://pseudoq.sourceforge.net/ Open source java Sudoku solver --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org