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 C5F1852824 for ; Fri, 17 Jun 2005 01:48:35 -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 98324-04 for ; Fri, 17 Jun 2005 04:48:26 +0000 (GMT) Received: from gatekeeper.yes2etl.com (unknown [202.88.179.103]) by svr1.postgresql.org (Postfix) with ESMTP id DDEDD528CE for ; Fri, 17 Jun 2005 01:48:23 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j5JD5XeW008292; Sun, 19 Jun 2005 18:35:33 +0530 Received: from gatekeeper.yes2etl.com ([127.0.0.1]) by localhost (gatekeeper [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07683-10; Sun, 19 Jun 2005 18:35:33 +0530 (IST) Received: from mtracks.yes2etl.com (yes2etl.com [10.1.2.53]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j5JD5JCt008288; Sun, 19 Jun 2005 18:35:19 +0530 Received: from localhost (localhost [127.0.0.1]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j5H4jHwW025002; Fri, 17 Jun 2005 10:15:17 +0530 Received: from mtracks.yes2etl.com ([127.0.0.1]) by localhost (mtracks [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24344-02; Fri, 17 Jun 2005 10:15:17 +0530 (IST) Received: from 10.1.2.53 (localhost [127.0.0.1]) by mtracks.yes2etl.com (8.12.10/8.12.10) with SMTP id j5H4iw05024906; Fri, 17 Jun 2005 10:15:00 +0530 Received: from 10.1.2.53 (SquirrelMail authenticated user minalac) by 10.1.2.53 with HTTP; Fri, 17 Jun 2005 10:15:00 +0530 (IST) Message-ID: <3214.10.1.2.53.1118983500.squirrel@10.1.2.53> Date: Fri, 17 Jun 2005 10:15:00 +0530 (IST) Subject: Re: Postgresql-JDBC connectivity From: "Minal Aryamane" To: pavan@netcore.co.in Cc: pgsql-jdbc@postgresql.org Reply-To: minalac@yes2etl.com User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.yes2etl.com X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.@@NET_DOMAIN@@ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.012 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200506/89 X-Sequence-Number: 13051 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)