Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 1234E9FA2D3 for ; Tue, 9 Jan 2007 17:31:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 18331-02 for ; Tue, 9 Jan 2007 17:30:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by postgresql.org (Postfix) with ESMTP id 9E6DF9FA4B9 for ; Tue, 9 Jan 2007 17:30:46 -0400 (AST) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H4OYP-0006Ag-Jw for pgsql-jdbc@postgresql.org; Tue, 09 Jan 2007 13:30:45 -0800 Message-ID: <8246974.post@talk.nabble.com> Date: Tue, 9 Jan 2007 13:30:45 -0800 (PST) From: zqzuk To: pgsql-jdbc@postgresql.org Subject: Cannot create PoolableConnectionFactory MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ziqi.zhang@hotmail.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.161 tagged_above=0 required=5 tests=BAYES_50, FORGED_HOTMAIL_RCVD2, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200701/61 X-Sequence-Number: 16426 Hi, I am using PostgreSQL with Spring, Hibernate on my web application. I came across such an exception when my application attempts to query the database. It is strange that it didnt happen when the application creates and populates databases; but when it performs "selects" operations. The exception message is: ------------------------------------------------------------------------------------- Exception invoking listener method onLogin of component Home: Failure invoking listener method 'public java.lang.String tuition.page.Home.onLogin()' on $Home_0@1d35bf2[Home]: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot create PoolableConnectionFactory (The connection attempt failed.); nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The connection attempt failed.) ------------------------------------------------------------------------------------- The ''java.lang.String tuition.page.Home.onLogin()'' is a simple method which queries database for a user name and a password. Any hints much appreciated! Thanks! -- View this message in context: http://www.nabble.com/Cannot-create-PoolableConnectionFactory-tf2948992.html#a8246974 Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.