Tomcat & JDBC - Mailing list pgsql-interfaces

From Tony Nakamura
Subject Tomcat & JDBC
Date
Msg-id 3A1B11B4.1FA5AC73@uickarate.com
Whole thread Raw
In response to Re: JDBC prob. Continued  (Christopher Farley <chris@northernbrewer.com>)
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: "David Coley"
Date:
Subject: RE: Create tables using Perl DBI
Next
From: Greg Speegle
Date:
Subject: Re: Tomcat & JDBC