Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVkle-000754-7E for pgsql-jdbc@arkaria.postgresql.org; Fri, 26 Apr 2013 15:40:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVkld-0007e6-NR for pgsql-jdbc@arkaria.postgresql.org; Fri, 26 Apr 2013 15:40:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UViOg-0003Aj-Fc for pgsql-jdbc@postgresql.org; Fri, 26 Apr 2013 13:09:06 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UViOd-000600-24 for pgsql-jdbc@postgresql.org; Fri, 26 Apr 2013 13:09:06 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UViOb-0006j6-BM for pgsql-jdbc@postgresql.org; Fri, 26 Apr 2013 06:09:01 -0700 Date: Fri, 26 Apr 2013 06:09:01 -0700 (PDT) From: pawel_kukawski To: pgsql-jdbc@postgresql.org Message-ID: <1366981741243-5753396.post@n5.nabble.com> Subject: PSQLException: FATAL: password authentication failed for user "XXX" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi, I have experienced authentication problems after applying a security patch(147440-09) to Solaris 10. PostgreSQL 9.2.1 JDBC: 9.2 1002 I got the following exception during startup of my application: Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "XXX" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFac= toryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionF= actoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java= :64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection= .java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection= .java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnect= ion.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection= .java:31) 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 com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerData= Source.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(Wra= pperConnectionPoolDataSource.java:183) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(Wra= pperConnectionPoolDataSource.java:172) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.ensureFirstConnect= ionAcquisition(C3P0PooledConnectionPoolManager.java:959) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnec= tionPool(C3P0PooledConnectionPoolManager.java:846) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0Pooled= ConnectionPoolManager.java:319) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0Pooled= ConnectionPoolManager.java:311) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(Abstrac= tPoolBackedDataSource.java:134) at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:1= 32) ... 18 more However I can login via psql My pg_hba.conf file # TYPE DATABASE USER ADDRESS METHOD local all all md5 # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 # Allow replication connections from localhost, by a user with the # replication privilege. host replication XXX 127.0.0.1/32 md5 host replication XXX ::1/128 md5 Does anyone know how to fix it ? PS. I must say that uninstalling the security patch is not an option for me :) Regards, Pawe=C5=82 -- View this message in context: http://postgresql.1045698.n5.nabble.com/PSQLE= xception-FATAL-password-authentication-failed-for-user-XXX-tp5753396.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc