X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E80CD9F9CEE for ; Tue, 16 May 2006 19:10:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 09007-05 for ; Tue, 16 May 2006 19:10:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id B8A6D9F9C18 for ; Tue, 16 May 2006 19:10:06 -0300 (ADT) Received: (qmail 12501 invoked from network); 16 May 2006 22:10:04 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 16 May 2006 22:10:04 -0000 In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF045AF01E@ca-mail1.cis.local> References: <6992E470F12A444BB787B5C937B9D4DF045AF01E@ca-mail1.cis.local> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: multipart/alternative; boundary=Apple-Mail-9--141004563 Message-Id: Cc: List From: Dave Cramer Subject: Re: password authentication error Date: Tue, 16 May 2006 18:10:03 -0400 To: Sriram Dandapani X-Mailer: Apple Mail (2.750) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/68 X-Sequence-Number: 15196 --Apple-Mail-9--141004563 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Is it possible that all the connections are somehow used ? Waiting =20 for data? Please respond to the list. Your answer, or mine may help someone else . Dave On 16-May-06, at 5:55 PM, Sriram Dandapani wrote: > Now I get this error all the time. Jboss can only get 1 connection=85=20= > nothing more. > > > > From: Dave Cramer [mailto:pg@fastcrypt.com] > Sent: Tuesday, May 16, 2006 2:54 PM > To: Sriram Dandapani > Cc: pgsql-jdbc@postgresql.org > Subject: Re: [JDBC] password authentication error > > > > Sriram, > > > > You say you have to restart JBoss, and reload pg_hba.conf. > > > > What happens if you only restart JBoss ? > > > > Dave > > On 16-May-06, at 4:44 PM, Sriram Dandapani wrote: > > > > > Hi > > > > I keep getting this error > > > > Could not create connection; - nested throwable: (Something unusual =20= > has occured to cause the driver to fail. Please report this =20 > exception: Exception: java.sql.SQLException: FATAL: password =20 > authentication failed for user "dataman" Stack Trace: =20 > java.sql.SQLException: FATAL: password authentication failed for =20 > user "dataman" at org.postgresql.Connection.openConnection=20 > (Connection.java:178) at org.postgresql.Driver.connect(Driver.java:=20 > 149) at =20 > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.cr=20= > eateManagedConnection(LocalManagedConnectionFactory.java:150) at =20 > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cre=20= > ateConnectionEventListener(InternalManagedConnectionPool.java:455) =20 > at =20 > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.get=20= > Connection(InternalManagedConnectionPool.java:214) at =20 > org.jboss.resource.connectionmanager.JBossManagedConnectionPool=20 > $BasePool.getConnection(JBossManagedConnectionPool.java:496) at =20 > org.jboss.resource.connectionmanager.BaseConnectionManager2.getManaged=20= > Connection(BaseConnectionManager2.java:425) at =20 > org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCon=20= > nection(TxConnectionManager.java:318) at =20 > org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateCo=20= > nnection(BaseConnectionManager2.java:477) at =20 > org.jboss.resource.connectionmanager.BaseConnectionManager2=20 > $ConnectionManagerProxy.allocateConnection=20 > (BaseConnectionManager2.java:814) at =20 > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection=20 > (WrapperDataSource.java:102) at > > > > > > fwdb01DS > > jdbc:postgresql://fwdb10.sv.counterpane.com:=20 > 5432/fwdb01 > > org.postgresql.Driver > > dataman > > 0rak1ller > > TRANSACTION_READ_COMMITTED isolation> > > 25 > > 5 > > > > > > This happens sporadically.. I have to reload pg_hba.conf and =20 > restart jboss for the error to go away..and after a few minutes, it =20= > reappears. > > > > The postgres driver is postgresql-8.1-404.jar and my pg_hba allows =20 > trusted access to the box issuing this jdbc connections. > > > > > > > > > > > --Apple-Mail-9--141004563 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252 Is it possible that all the = connections are somehow used ? Waiting for data?

Please respond to the list. = Your answer, or mine may help someone else .

Dave
On = 16-May-06, at 5:55 PM, Sriram Dandapani wrote:

Now I get this error = all the time. Jboss can only get 1 connection=85nothing more.


From: Dave Cramer [mailto:pg@fastcrypt.com]
Tuesday, May 16, = 2006 2:54 PM
Sriram = Dandapani
pgsql-jdbc@postgresql.org
Re: [JDBC] = password authentication error
=A0

Sriram,

=A0

You say you have to restart JBoss, and reload = pg_hba.conf.

=A0

What happens if you only restart JBoss = ?=A0

Dave

On 16-May-06, at 4:44 PM, Sriram Dandapani = wrote:



Hi=A0

I keep getting this error=A0

Could not = create connection; - nested throwable: (Something unusual has occured to = cause the driver to fail. Please report this exception: Exception: = java.sql.SQLException: FATAL: password authentication failed for user = "dataman" Stack Trace: java.sql.SQLException: FATAL: password = authentication failed for user "dataman" at = org.postgresql.Connection.openConnection(Connection.java:178) at = org.postgresql.Driver.connect(Driver.java:149) at = org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.create= ManagedConnection(LocalManagedConnectionFactory.java:150) at = org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createC= onnectionEventListener(InternalManagedConnectionPool.java:455) at = org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConn= ection(InternalManagedConnectionPool.java:214) at = org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.g= etConnection(JBossManagedConnectionPool.java:496) at = org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConn= ection(BaseConnectionManager2.java:425) at = org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnect= ion(TxConnectionManager.java:318) at = org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnec= tion(BaseConnectionManager2.java:477) at = org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionMana= gerProxy.allocateConnection(BaseConnectionManager2.java:814) at = org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDat= aSource.java:102) at

=A0

<local-tx-datasource>=A0=A0=A0 = <jndi-name>fwdb01DS</jndi-name>=A0=A0=A0 = <connection-url>jdbc:postgresql://fwdb10.sv.counterpane.com:5432/fwd= b01</connection-url>

=A0=A0=A0 = <driver-class>org.postgresql.Driver</driver-class>=A0=A0=A0 = <user-name>dataman</user-name>=A0=A0=A0 = <password>0rak1ller</password>=A0=A0=A0 = <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-is= olation>=A0=A0=A0 = <max-pool-size>25</max-pool-size>=A0=A0=A0 = <min-pool-size>5</min-pool-size>=A0 = </local-tx-datasource>

=A0

This happens sporadically.. I have to = reload pg_hba.conf and restart jboss for the error to go away..and after = a few minutes, it reappears.

=A0

The postgres driver is = postgresql-8.1-404.jar and my pg_hba allows trusted access to the box = issuing this jdbc connections.

=A0

=A0




= --Apple-Mail-9--141004563--