Re: Cannot create PoolableConnectionFactory

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Cannot create PoolableConnectionFactory
Дата
Msg-id Pine.BSO.4.64.0701110013210.1493@leary2.csoft.net
обсуждение исходный текст
Ответ на Cannot create PoolableConnectionFactory  (zqzuk <ziqi.zhang@hotmail.com>)
Список 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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: How to recoup the messages on the execution of a query
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JSQL and postgre 8.1