Put the postgres driver jar in ${tomcat.home}/common/lib
You need the driver classes from http://jdbc.postgresql.org/download.html that
match your database.
Tim.
On Wednesday 02 Oct 2002 10:57, Radim Burget wrote:
> Hi,
>
> I have problem with creating resource for database connection. I have
> just managed to connect to database in "User.java" but I think that it
> is better to create resource which will not create connection on every
> request.
>
> my jar file "postgresql.jar" is now placed in "WEB-INF/lib" and works
> correctly with "User.java"
> When I create resource I got exception that class org.postgresql.Driver
> wasn't found.
>
> Where should I place the "postgresql.jar" file for TOMCAT 5.5 if I want
> to use resources?
>
> Thanks in advance.
> RB
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]