X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 999C1528A6 for ; Fri, 17 Jun 2005 12:09:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47750-02 for ; Fri, 17 Jun 2005 15:09:15 +0000 (GMT) Received: from mail.liquidcore.com (mail.liquidcore.com [70.151.60.104]) by svr1.postgresql.org (Postfix) with ESMTP id 6072552874 for ; Fri, 17 Jun 2005 12:09:14 -0300 (ADT) Received: (from root@localhost) by mail.liquidcore.com (8.13.1/8.12.10) id j5HF98W1017812; Fri, 17 Jun 2005 10:09:08 -0500 Received: from [192.168.0.81] (ppasalalinux.nqadmin.com [192.168.0.81]) by mail.liquidcore.com (8.13.1/8.12.10) with ESMTP id j5HF96wV017758; Fri, 17 Jun 2005 10:09:07 -0500 Message-ID: <42B2E8FE.4040108@nqadmin.com> Date: Fri, 17 Jun 2005 10:15:10 -0500 From: Prasanth Reply-To: dbadmin@nqadmin.com User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: minalac@yes2etl.com Cc: pavan@netcore.co.in, pgsql-jdbc@postgresql.org Subject: Re: Postgresql-JDBC connectivity References: <3214.10.1.2.53.1118983500.squirrel@10.1.2.53> In-Reply-To: <3214.10.1.2.53.1118983500.squirrel@10.1.2.53> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-scanner: scanned for malicious content X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/94 X-Sequence-Number: 13056 Restart tomcat and try it again. When you add a jar I always have to restart tomcat. -Prasanth. 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 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) > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >