From: Damien S <damienscarl@hotmail.com>
To: pgsql-interfaces@postgresql.org
Subject: problem with pg_hba.conf & JDBC (?)
Date: Tue, 22 Oct 2002 15:12:53 +0200
Message-ID: <OE204Jf7zynrvDOv5y4000008c6@hotmail.com> (raw)
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
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: damienscarl@hotmail.com
Subject: Re: problem with pg_hba.conf & JDBC (?)
In-Reply-To: <OE204Jf7zynrvDOv5y4000008c6@hotmail.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