Re: DriverManager.getConnection() fails sometimes but succeeds other times

From: sys(at)yahoo(dot)com (Enote)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DriverManager.getConnection() fails sometimes but succeeds other times
Date: 2002-03-19 07:06:48
Message-ID: 6ebabd20.0203182306.c4653c7@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

perhaps posting a sample stub of code and the relevant entries in pg_hba.conf
might make it easier to understand what might be wrong?

Michael E Mercer <mmercer(at)lboard(dot)com> wrote in message news:<3C960A14(dot)B45611B(at)lboard(dot)com>...
> Hello,
>
> I have a java program running as root and tries to connect to database
> as user
> 'A' with password 'A'.
>
> The pg_hba.conf is set to allow users to connect from any host with md5
> authentication.
>
> The java program uses the same method to connect to the database,
> however
> sometimes authentication
> succeeds and sometimes it fails. The user and password are hard coded,
> so there
> is no probable error there.
>
> Any ideas?
>
> Thanks
> Michael Mercer

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jori Luoto 2002-03-19 08:21:37 Performance question
Previous Message Enote 2002-03-19 07:00:50 is postgres IP address sensitive?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nikola Milutinovic 2002-03-19 12:32:28 PgSQL and Tyrex problems
Previous Message Blas Rodriguez Somoza 2002-03-19 03:42:26 SQL/PSM