Re: Postgresql-JDBC connectivity - Mailing list pgsql-jdbc

From Minal Aryamane
Subject Re: Postgresql-JDBC connectivity
Date
Msg-id 3214.10.1.2.53.1118983500.squirrel@10.1.2.53
Whole thread Raw
In response to Postgresql-JDBC connectivity  (Minal <minalac@yes2etl.com>)
Responses Re: Postgresql-JDBC connectivity  (Prasanth <dbadmin@nqadmin.com>)
List pgsql-jdbc
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 java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at Example1.main(Example1.java:10)


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: org.postgresql.util.PSQLException: The column name x was
Next
From: Dave Cramer
Date:
Subject: instrumenting the driver