Do anyone know the cause of this exception?

Поиск
Список
Период
Сортировка
От vwu98034@lycos.com
Тема Do anyone know the cause of this exception?
Дата
Msg-id 33189534.806201290643141240.JavaMail.root@mail-zbox13.bo3.lycos.com
обсуждение исходный текст
Ответы Re: Do anyone know the cause of this exception?  (vwu98034@lycos.com)
Список pgsql-jdbc
I have a stable development environment for a quite whole, I get the following exception suddenly. The database server
isup and I can see those processes. And the JDBC driver is in my Maven POM file. I can't figure out why the DB
connectioncan't be setup. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:150)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
    at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
    at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
    at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:393)
    at org.postgresql.Driver.connect(Driver.java:267)
    at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
    at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
    ... 52 more
Caused by: java.io.EOFException
    at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:261)
    at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:269)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
    ... 64 more

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

Предыдущее
От: Александър Шопов
Дата:
Сообщение: Re: Workarounds for getBinaryStream returning ByteArrayInputStream on bytea
Следующее
От: vwu98034@lycos.com
Дата:
Сообщение: Re: Do anyone know the cause of this exception?