Re: [GENERAL] jdbc pg_hba.conf error

2007-06-05 Thread Bhavana.Rakesh
at java.sql.DriverManager.getConnection(DriverManager.java:559) at java.sql.DriverManager.getConnection(DriverManager.java:189) at db_connect_pgsql.main(db_connect_pgsql.java:25) -Bhavana Tom Lane wrote: "Bhavana.Rakesh" <[EMAIL PROTECTED]> writes: Here&#x

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-31 Thread Bhavana.Rakesh
# (change requires restart) max_connections = 100 # (change requires restart) -Bhavana chris smith wrote: On 5/31/07, Bhavana.Rakesh <[EMAIL PROTECTED]> wrote: Ok, I confirmed that I'm editing the right pg_hba.conf file. I made sure t

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-31 Thread Bhavana.Rakesh
Ok, I confirmed that I'm editing the right pg_hba.conf file. I made sure that there are no other postmasters running. I made sure that there is a user called 'brakesh'. I restart the postmaster everytime I make any changes to pg_hba.conf file. But still same results! [EMAIL PROTECTED] ~/d

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-30 Thread Bhavana.Rakesh
that. The error specifically says "no pg_hba.conf entry". As far as I can see, his pg_hba.conf is OK. On Wed, 30 May 2007, Oliver Elphick wrote: On Wed, 2007-05-30 at 18:35 +0200, Martijn van Oosterhout wrote: On Wed, May 30, 2007 at 12:30:38PM -0400, Bhavana.Rakesh wrote:

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-30 Thread Bhavana.Rakesh
+0200, Martijn van Oosterhout wrote: On Wed, May 30, 2007 at 12:30:38PM -0400, Bhavana.Rakesh wrote: Oliver, When I do a : psql -p 5000 testing123 I can make a connection. However, when I do a psql -U brakesh -h 127.0.0.1 -d testing123 I get the follow

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-30 Thread Bhavana.Rakesh
e "testing123", SSL off Oliver Elphick wrote: On Wed, 2007-05-30 at 12:11 -0400, Bhavana.Rakesh wrote: I used the example in the following URL http://www.postgresql.org/docs/7.3/static/client-authentication.html That does have local rather than host, of course. Are yo

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-30 Thread Bhavana.Rakesh
psql client, but my java connection seems to be failing. Oliver Elphick wrote: On Wed, 2007-05-30 at 11:47 -0400, Bhavana.Rakesh wrote: Hello, I'm still getting the error ... Here is my updated ve

Re: [GENERAL] jdbc pg_hba.conf error

2007-05-30 Thread Bhavana.Rakesh
Hello, I'm still getting the error [EMAIL PROTECTED] ~/db_connect]$ java db_connect_pgsql.class Checking if Driver is registered with DriverManager Registered the driver ok, making DB connection now Couldn't connect: print out a stack trace and exit. org.postgresql.util.PSQLException: A connect

[GENERAL] jdbc pg_hba.conf error

2007-05-30 Thread Bhavana.Rakesh
Hi, I'm a newbee to postgreSQL. Does anyone know what this error means. I'm trying to run the following java program. I have also included the java program and the pg_hba.conf file. java db_connect_pgsql.class Checking if Driver is registered with DriverManager Registered the driver ok,

Re: [GENERAL] jdeveloper and postgres

2007-05-29 Thread Bhavana.Rakesh
Hi All, I have set up a jdbc connection using jdeveloper(on my windows machine). I am connecting to a postgres database on a linux machine. I used the Database connections are shown in the Navigator, in the Connections | Database folder. I tested the connection and it said "Success!" in the d