tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug McNaught <d...@wireboard.com>
Subject Re: [GENERAL] Problems setting up PostgreSQL and Tomcat JDBC connection
Date Mon, 22 Oct 2001 19:59:14 GMT
Nikola Milutinovic <Nikola.Milutinovic@ev.co.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

Mime
View raw message