problem with pg_hba.conf & JDBC (?)

From: "Damien S" <damienscarl(at)hotmail(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: problem with pg_hba.conf & JDBC (?)
Date: 2002-10-22 13:12:53
Message-ID: OE204Jf7zynrvDOv5y4000008c6@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi there all.

I'm having a strange problem here:
I get the error message below when executing a SQL query through Tomcat
4.0.3 on a Linux server, with jdk1.4 & PostgreSQL 7.2.1. The user has rights
to insert, update, etc. & there is an entry for the IP address in the
pg_hba.conf file.
But strangely this exception only occurs through the JDBC driver when
deploying a web-app on Tomcat.

Executing statements through MS Access & pgAdmin works as well (from
Windows)

Technology used:
Tomcat 4.0.3
JDK 1.4
SuSE Linux 7.3
JDBC driver 7.0
PostgreSQL 7.2.1

This is the error message I get:
User=damien
Error code=0
SQL state=null
Message=Something unusual has occured to cause the driver to fail. Please
report this exception: java.sql.SQLException: FATAL 1: No pg_hba.conf entry
for host 212.222.11.111, user damien, database testerdb

- Any help would be very welcome.

Cheers, Damien

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Cristóvão Dalla Costa 2002-10-22 18:58:43 DBD::Pg and binary data
Previous Message Tom Lane 2002-10-21 13:09:56 Re: PGLOG problem