pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony Nakamura <tony@uickarate.com>
To: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: Tomcat & JDBC
Date: Tue, 21 Nov 2000 18:22:12 -0600
Message-ID: <3A1B11B4.1FA5AC73@uickarate.com> (raw)
References: <Pine.BSF.4.21.0011161505570.11653-100000@kraeusen.nbrewer.com>

Thanks everyone for the help on JDBC.  I finally got JDBC to work.
....of course, I am facing an another one.  So please help me if you could.
Thanks in advance.

My DB connection works perfectly when I am writing an application, but
it gives the ClassNotFoundException error when I write a servlet.  I am
pretty
sure it's the setting for tomcat that  I am using.  I have set following in
the tomcat.properties
file:

wrapper.bin.parameters=-Djdbc.drivers=org.postgresql.Driver
wrapper.classpath=/usr/local/lib/postgresql.jar

I am also setting the CLASSPATH environmental variable, so
I've tried wrapper.bin.parameter=NONE and didn't work.


Tony




view thread (3+ messages)  latest in thread

Message-ID: <3A1B11B4.1FA5AC73@uickarate.com>
Permalink:  ../3A1B11B4.1FA5AC73@uickarate.com/
Also on:    postgresql.org/message-id/3A1B11B4.1FA5AC73@uickarate.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: tony@uickarate.com
  Subject: Re: Tomcat & JDBC
  In-Reply-To: <3A1B11B4.1FA5AC73@uickarate.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