Received: from gemini.cybersurf.net (root@gemini.cybersurf.net [209.197.128.8]) by hub.org (8.8.8/8.7.5) with ESMTP id UAA27581 for ; Mon, 20 Jul 1998 20:00:22 -0400 (EDT) Received: from cybersoft.ab.ca (pc19.cybersurf.net [209.197.128.39]) by gemini.cybersurf.net (8.8.7/8.8.7) with ESMTP id SAA00173 for ; Mon, 20 Jul 1998 18:00:22 -0600 Message-ID: <35B3DA9A.504D26F1@cybersoft.ab.ca> Date: Mon, 20 Jul 1998 18:02:34 -0600 From: Dallas Hockley Organization: Cybersoft Communications Software Inc. X-Mailer: Mozilla 4.5b1 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Servlet question... Am I missing something? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greetings all, I've got a bit of a problem, and I've been beating my head into the monitor for a bit too long to have any more ideas. I've got Apache 1.3 with jserv 0.9.11 running on a Linux RedHat 5.0 box (with some patches). I can create servlets no problem, and return data within web pages. The problem is, now I'm trying to add a database connection to run a query and fill a table on the fly. Seems simple BUT.... Every time the servlet executes, I'm getting a User Authentication Error. The same code runs fine on other servers as an application. The web server and the database are (currently) on the same server, and the host 127.0.0.1 is password in pg_hba.conf. All hosts are password authenticated. Unix domain sockets are still trusted on the localhost. Identical code for the database getConnection() call, but the servlet on the web server doesn't run, the app on a separate server does. Help..... my heads sore.... :-S Dallas Hockley hockleyd@cybersoft.ab.ca