You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "seloha ." <se...@hotmail.com> on 2005/10/02 13:03:07 UTC

RE: NoClassDefFound - postgresql

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 <Ra...@seznam.cz> 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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org