Re: [GENERAL] Problems setting up PostgreSQL and Tomcat JDBC connection

Поиск
Список
Период
Сортировка
От Nikola Milutinovic
Тема Re: [GENERAL] Problems setting up PostgreSQL and Tomcat JDBC connection
Дата
Msg-id 004a01c15b8e$c72eeef0$0a3ea8c0@ev.co.yu
обсуждение исходный текст
Список 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.

Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Problem with createdb & case (7.1.3)
Следующее
От: "Fredrik Thunberg"
Дата:
Сообщение: Concatenating strings