pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedCannot create PoolableConnectionFactory
2+ messages / 2 participants
[nested] [flat]
* Cannot create PoolableConnectionFactory
@ 2007-01-09 21:30 zqzuk <ziqi.zhang@hotmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: zqzuk @ 2007-01-09 21:30 UTC (permalink / raw)
To: 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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Cannot create PoolableConnectionFactory
@ 2007-01-11 05:15 Kris Jurka <books@ejurka.com>
parent: zqzuk <ziqi.zhang@hotmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Kris Jurka @ 2007-01-11 05:15 UTC (permalink / raw)
To: zqzuk <ziqi.zhang@hotmail.com>; +Cc: pgsql-jdbc
On Tue, 9 Jan 2007, zqzuk wrote:
>
> 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.)
>
Nothing in this stack trace implies a postgresql problem beyond the
connection failure. This could be because of an incorrect URL or password
or similar. Recheck your connection information and look at the server
error log for more information about the failed connection.
Kris Jurka
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-01-11 05:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-09 21:30 Cannot create PoolableConnectionFactory zqzuk <ziqi.zhang@hotmail.com>
2007-01-11 05:15 ` Kris Jurka <books@ejurka.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox