pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dallas Hockley <hockleyd@cybersoft.ab.ca>
To: pgsql-interfaces@postgresql.org
Subject: Servlet question... Am I missing something?
Date: Mon, 20 Jul 1998 18:02:34 -0600
Message-ID: <35B3DA9A.504D26F1@cybersoft.ab.ca> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <35B3DA9A.504D26F1@cybersoft.ab.ca>
Permalink:  ../35B3DA9A.504D26F1@cybersoft.ab.ca/
Also on:    postgresql.org/message-id/35B3DA9A.504D26F1@cybersoft.ab.ca

 · 

reply

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: hockleyd@cybersoft.ab.ca
  Subject: Re: Servlet question... Am I missing something?
  In-Reply-To: <35B3DA9A.504D26F1@cybersoft.ab.ca>

* 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