pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Sriram Dandapani <sdandapani@counterpane.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: password authentication error
Date: Tue, 16 May 2006 18:10:03 -0400
Message-ID: <FBD1F721-0ED4-4E5B-8419-C978A98DDDB9@fastcrypt.com> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF045AF01E@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF045AF01E@ca-mail1.cis.local>

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… 
> 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  
> 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.cr 
> eateManagedConnection(LocalManagedConnectionFactory.java:150) at  
> org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cre 
> ateConnectionEventListener(InternalManagedConnectionPool.java:455)  
> at  
> org.jboss.resource.connectionmanager.InternalManagedConnectionPool.get 
> Connection(InternalManagedConnectionPool.java:214) at  
> org.jboss.resource.connectionmanager.JBossManagedConnectionPool 
> $BasePool.getConnection(JBossManagedConnectionPool.java:496) at  
> org.jboss.resource.connectionmanager.BaseConnectionManager2.getManaged 
> Connection(BaseConnectionManager2.java:425) at  
> org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCon 
> nection(TxConnectionManager.java:318) at  
> org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateCo 
> nnection(BaseConnectionManager2.java:477) at  
> org.jboss.resource.connectionmanager.BaseConnectionManager2 
> $ConnectionManagerProxy.allocateConnection 
> (BaseConnectionManager2.java:814) at  
> org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection 
> (WrapperDataSource.java:102) at
>
>
>
> <local-tx-datasource>
>
>     <jndi-name>fwdb01DS</jndi-name>
>
>     <connection-url>jdbc:postgresql://fwdb10.sv.counterpane.com: 
> 5432/fwdb01</connection-url>
>
>     <driver-class>org.postgresql.Driver</driver-class>
>
>     <user-name>dataman</user-name>
>
>     <password>0rak1ller</password>
>
>     <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction- 
> isolation>
>
>     <max-pool-size>25</max-pool-size>
>
>     <min-pool-size>5</min-pool-size>
>
>   </local-tx-datasource>
>
>
>
> 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.
>
>
>
> The postgres driver is postgresql-8.1-404.jar and my pg_hba allows  
> trusted access to the box issuing this jdbc connections.
>
>
>
>
>
>
>
>
>
>
>

view thread (3+ messages)

Message-ID: <FBD1F721-0ED4-4E5B-8419-C978A98DDDB9@fastcrypt.com>
Permalink:  ../FBD1F721-0ED4-4E5B-8419-C978A98DDDB9@fastcrypt.com/
Also on:    postgresql.org/message-id/FBD1F721-0ED4-4E5B-8419-C978A98DDDB9@fastcrypt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, sdandapani@counterpane.com
  Subject: Re: password authentication error
  In-Reply-To: <FBD1F721-0ED4-4E5B-8419-C978A98DDDB9@fastcrypt.com>
  References: <6992E470F12A444BB787B5C937B9D4DF045AF01E@ca-mail1.cis.local> <FBD1F721-0ED4-4E5B-8419-C978A98DDDB9@fastcrypt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox