Urgent :Query - Please help

From: "sanjay" <sanjay(at)pmelgroup(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Urgent :Query - Please help
Date: 2002-04-03 05:29:32
Message-ID: 000f01c1dad0$8e9581a0$0d01a8c0@pmelgroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dear Sir,
I am using Linux RedHat 7.2 with jakarta-tomcat-4.0.1 and Postgresql 7.1.3. I m getting following error when I run a servlet with the database named "test" having user "nobody". I m running this servlet from one of the client m/c. The servlet is using jdbc connection, select some records from a table and display it.

"Something unusual has occured to cause the driver to fail. Please report this exception: Exception: java.sql.SQLException: No pg_hba.conf entry for host 192.168.1.50, user nobody, database test Stack Trace: java.sql.SQLException: No pg_hba.conf entry for host 192.168.1.50, user nobody, database test at org.postgresql.Connection.openConnection(Connection.java:170) at org.postgresql.Driver.connect(Driver.java:122) at java.sql.DriverManager.getConnection(DriverManager.java:517
.............
........"
Could you plese guide me to solve this problem,

Thanks ,
Sanjay Amin
Software Engineer
Arraycom(India) Ltd.,
B13,13/1 & 14 , Electronic Estate,
GIDC,Sector:25,Gandhinagar,
Gujarat-382 044
Phone:079-3229011-13
Fax:079-3229014
E-mail : sanjay(at)pmelgroup(dot)com

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kovács Péter 2002-04-03 07:29:27 Re: PostgresqlDataSource
Previous Message Barry Lind 2002-04-03 05:18:28 Re: Fwd: org/postgresql/jdbc2/ResultSet.java