pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pete (Linux) <rpclear@axionet.com>
To: pgsql-interfaces@postgresql.org
Subject: JDBC-JServ Servlet problem
Date: Sat, 06 Feb 1999 15:45:23 -0800
Message-ID: <36BCD413.CC555EDE@axionet.com> (raw)

Hi.

I'm a relative newbie at Linux/Apache/Postgresql/JServ so bear with me.
I need to access PostgreSQL via a Servlet.  I have managed to get
Apache, postgres, and JServe up and running fine, and have written some
simple java code which accesses the data base OK. When I try to access
the data base through a servlet, I can't get past it throwing a Class
not found Exception when it tries to load the JDBC driver.  Works fine
as a standalone java application.  My questions are:
    How do i set the CLASSPATH variable for the Apache/Jserv processes
(if i need to)?
    What is the best user to use as owner of the apache process (I've
tried nobody, me , and postgres)?

Thanks for any assistance you may have.

Pete Clearwater.




Message-ID: <36BCD413.CC555EDE@axionet.com>
Permalink:  ../36BCD413.CC555EDE@axionet.com/
Also on:    postgresql.org/message-id/36BCD413.CC555EDE@axionet.com

 · 

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: rpclear@axionet.com
  Subject: Re: JDBC-JServ Servlet problem
  In-Reply-To: <36BCD413.CC555EDE@axionet.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