Re: Problems setting up PostgreSQL and Tomcat JDBC connection

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Nikola Milutinovic <Nikola(dot)Milutinovic(at)ev(dot)co(dot)yu>
Cc: Tomcat Users <tomcat-user(at)jakarta(dot)apache(dot)org>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problems setting up PostgreSQL and Tomcat JDBC connection
Date: 2001-10-22 19:59:14
Message-ID: m3r8rvjvjh.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nikola Milutinovic <Nikola(dot)Milutinovic(at)ev(dot)co(dot)yu> writes:

> QUESTION 2: Now this may sound dumb, but... PostgreSQL docs state
> that I should load driver with "-Djdbc.drivers=posgresql.Driver",
> but if I list postgresql.jar file, I see it is
> "org.postgresql.Driver". Is this a typo in the docs?

Yes, the package structure changed in 7.1 or thereabouts.
'org.postgresql.Driver' is the correct classname.

Have you tried writing a standalone JDBC test app just to make sure
all the database plumbing works and you've got the right connection
URL?

BTW, the current stable release of Postgres is 7.1.3, and there were
quite a few bugs fixed since 7.1.0. You might want to consider
upgrading.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2001-10-22 20:00:03 Re: [GENERAL] To Postgres Devs : Wouldn't changing the select
Previous Message Josh Samuels 2001-10-22 19:33:15 Re: Case problem