Cannot create PoolableConnectionFactory (The connection attempt failed.)

Поиск
Список
Период
Сортировка
От Alex Nordlund
Тема Cannot create PoolableConnectionFactory (The connection attempt failed.)
Дата
Msg-id CADD7sv05qonb3fejukgfOdnqxb6PascaNzSBVQS5WCZqF7jXOQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Cannot create PoolableConnectionFactory (The connection attempt failed.)  (Radosław Smogura <rsmogura@softperience.eu>)
Список pgsql-jdbc
Hi,

I get the following errors:

INFO: Deploying configuration descriptor openidserver.xml
2011-08-10 13:14:30,600 main WARN
[org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState:
null
2011-08-10 13:14:30,615 main ERROR
[org.hibernate.util.JDBCExceptionReporter] Cannot create
PoolableConnectionFactory (The connection attempt failed.)
2011-08-10 13:14:30,618 main WARN [org.hibernate.cfg.SettingsFactory]
Could not obtain connection metadata
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (The connection attempt failed.

And my Resource looks like this:

    <Resource name="jdbc/CrowdIDDS" auth="Container" type="javax.sql.DataSource"
              username="crowd"
              password="hiddenfortheml"
              driverClassName="org.postgresql.Driver"
              url="jdbc:postgresql://localhost:5432/crowdiddb"
            />


Am I doing something wrong?

My username is crowd, it's set to only use MD5 auth, the DB is
crowdiddb and I can access it using psql.

---
//Alex

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

Предыдущее
От: Wiz of Id
Дата:
Сообщение: Re: 9.1 non-devel jar
Следующее
От: Radosław Smogura
Дата:
Сообщение: Re: Cannot create PoolableConnectionFactory (The connection attempt failed.)