PostgreSQL and Tomcat?

From: "Chris Parsons" <cparsons(at)spamcop(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: PostgreSQL and Tomcat?
Date: 2002-07-19 18:04:11
Message-ID: ACEFJNOBNHMEHODJACGAKEIOCDAA.cparsons@spamcop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I have been successfully running Java code against a PostgrSQL server
running under CygWin, on a W2K
PC, and am wondering if it is possible to run Servlets the same way?

I have some test code that keeps failing when connecting to the server - the
message I am getting is
Error: JDBC Class creation: null

Truthfully I am not sure where to put the pgjdbc2.jar file - I have tried

D:\Program Files\Apache Tomcat 4.0\Lib
D:\Program Files\Apache Tomcat 4.0\Common
D:\Program Files\Apache Tomcat 4.0\Server\Lib
D:\Program Files\Apache Tomcat 4.0\Server\Classes

or whether I need to tweak the Tomcat config to get it to load?

With normal Java code I put it in...

D:\j2sdk1.4.0\jre\lib\ext

but can't find anything similar!

Any advice would be appreciated, I am pulling my hair out <g>

Keep up the good work

Chris Parsons

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Carfield Yim 2002-07-20 03:49:19 Error get after upgrading postgresql server
Previous Message Richard So 2002-07-19 17:26:02 jdbc chinese problem ...