Re: [GENERAL] Problems setting up PostgreSQL and Tomcat JDBC connection - Mailing list pgsql-novice

From Nikola Milutinovic
Subject Re: [GENERAL] Problems setting up PostgreSQL and Tomcat JDBC connection
Date
Msg-id 004a01c15b8e$c72eeef0$0a3ea8c0@ev.co.yu
Whole thread Raw
List pgsql-novice
> When I wrote a servlet for TC3.2.3, before Connection conn=bla..., I had
> Class.forName("org.postgresql.driver");
> As far as the location of postgresql.jar, I had it in JDK_HOME/lib and in
> TOMCAT_HOME/lib at least (maybe in WEB-INF/lib as well - I can't remember)

Thanks. I have postgresql.jar in a proper location, it seams. Looks like it is either not getting loaded or not
registeredas a JDBC driver.
 

QUESTION 1: How can I check if a particular jar/class has been accepted by the classloader?
QUESTION 2: Again, what is the proper way of specifying a "system-wide" JDBC driver in Tomcat 4.0?

Nix.

Attachment

pgsql-novice by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: Problem with createdb & case (7.1.3)
Next
From: "Fredrik Thunberg"
Date:
Subject: Concatenating strings