Skip site navigation (1) Skip section navigation (2)

Re: Postgresql-JDBC connectivity

From: Prasanth <dbadmin(at)nqadmin(dot)com>
To: minalac(at)yes2etl(dot)com
Cc: pavan(at)netcore(dot)co(dot)in, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Postgresql-JDBC connectivity
Date: 2005-06-17 15:15:10
Message-ID: (view raw or whole thread)
Lists: pgsql-jdbc
Restart tomcat and try it again.

When you add a jar I always have to restart tomcat.


Minal Aryamane wrote:
> i have this jar file and have copied it in /usr/local/tomcat/common/lib
> path.....
> This is the jar file I am using....
> postgresql-8.0-311.jdbc3.jar
> I did as you said but am still getting the same error....Am I using the
> correct file???
> Checking if Driver is registerd
> Couldn't find the Driver
> java.lang.ClassNotFoundException: org.postgresql.Driver
>         at$
>         at Method)
>         at
>         at java.lang.ClassLoader.loadClass(
>         at sun.misc.Launcher$AppClassLoader.loadClass(
>         at java.lang.ClassLoader.loadClass(
>         at java.lang.ClassLoader.loadClassInternal(
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(
>         at Example1.main(
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

pgsql-jdbc by date

Next:From: JavierDate: 2005-06-17 16:26:31
Subject: JDBC compressed stream
Previous:From: John R PierceDate: 2005-06-17 13:59:31
Subject: Re: instrumenting the driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group