Received: from ns2.vphos.net (ns2.vphos.net [207.102.129.2]) by hub.org (8.9.2/8.9.1) with ESMTP id SAA42038 for ; Sat, 6 Feb 1999 18:51:01 -0500 (EST) (envelope-from rpclear@axionet.com) Received: from axionet.com (root@ts1-3.mutual.axion.net [209.52.76.3]) by ns2.vphos.net (8.9.0.Beta5/1.25) with ESMTP id PAA06443 for ; Sat, 6 Feb 1999 15:50:59 -0800 (PST) Sender: root@axionet.com Message-ID: <36BCD413.CC555EDE@axionet.com> Date: Sat, 06 Feb 1999 15:45:23 -0800 From: "Pete (Linux)" X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586) MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: JDBC-JServ Servlet problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.