Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id D23F01337B34 for ; Wed, 24 Nov 2010 20:04:41 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 51270-06 for ; Thu, 25 Nov 2010 00:04:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailbox13.lycos.com (mail-zbox13.bo3.lycos.com [209.202.250.13]) by mail.postgresql.org (Postfix) with ESMTP id 13D111337B3E for ; Wed, 24 Nov 2010 20:04:34 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailbox13.lycos.com (Postfix) with ESMTP id 3F2D43B584B for ; Wed, 24 Nov 2010 18:59:02 -0500 (EST) X-Virus-Scanned: amavisd-new at mailbox13.lycos.com Received: from mailbox13.lycos.com ([127.0.0.1]) by localhost (mailbox13.lycos.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NiCMatqMdjLv for ; Wed, 24 Nov 2010 18:59:02 -0500 (EST) Received: from mailbox13.lycos.com (unknown [209.202.250.13]) by mailbox13.lycos.com (Postfix) with ESMTP id 0FCBC3B582C for ; Wed, 24 Nov 2010 18:59:01 -0500 (EST) Date: Wed, 24 Nov 2010 18:59:01 -0500 (EST) From: vwu98034@lycos.com To: pgsql-jdbc@postgresql.org Message-ID: <33189534.806201290643141240.JavaMail.root@mail-zbox13.bo3.lycos.com> In-Reply-To: <25596729.806081290642813168.JavaMail.root@mail-zbox13.bo3.lycos.com> Subject: Do anyone know the cause of this exception? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [24.83.121.23] X-Mailer: Zimbra 5.0 (ZimbraWebClient - FF3.0 (Win)/5.0.18_GA_3028.CentOS5) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/89 X-Sequence-Number: 21210 I have a stable development environment for a quite whole, I get the following exception suddenly. The database server is up and I can see those processes. And the JDBC driver is in my Maven POM file. I can't figure out why the DB connection can'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.(AbstractJdbc2Connection.java:125) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:30) at org.postgresql.jdbc4.Jdbc4Connection.(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