Cannot create PoolableConnectionFactory - Mailing list pgsql-jdbc

From zqzuk
Subject Cannot create PoolableConnectionFactory
Date
Msg-id 8246974.post@talk.nabble.com
Whole thread Raw
Responses Re: Cannot create PoolableConnectionFactory
List pgsql-jdbc
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.


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: JDBC driver compilation issues
Next
From: Rich Rutkowski
Date:
Subject: Connection Problem