Cannot create PoolableConnectionFactory
От | zqzuk |
---|---|
Тема | Cannot create PoolableConnectionFactory |
Дата | |
Msg-id | 8246974.post@talk.nabble.com обсуждение исходный текст |
Ответы |
Re: Cannot create PoolableConnectionFactory
|
Список | 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 по дате отправления: