Assuming tomcats structure has not changed from version 5.0 to 5.5 I place my jdbc driver in $CATALINA_HOME/common/lib and all webapps find it.

regards,

Paul

Radim Burget <[EMAIL PROTECTED]> 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]

Reply via email to