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 8D2605E40BA for ; Fri, 6 Aug 2004 13:09:27 -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 15832-03 for ; Fri, 6 Aug 2004 16:09:30 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id AE0695E46C7 for ; Fri, 6 Aug 2004 13:09:20 -0300 (ADT) Received: (qmail 23619 invoked from network); 6 Aug 2004 16:09:25 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 6 Aug 2004 16:09:25 -0000 Subject: Re: No suitable driver error trying to connect to From: Dave Cramer Reply-To: pg@fastcrypt.com To: Robert Bowen Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <77723de8.0408060405.203be2be@posting.google.com> References: <77723de8.0408060405.203be2be@posting.google.com> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1091808621.1548.69.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 06 Aug 2004 12:10:21 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/47 X-Sequence-Number: 10769 the url is incorrect it needs to be. jdbc:postgresql://host:port/database Dave On Fri, 2004-08-06 at 08:05, Robert Bowen wrote: > Anyone have this problem? Usually it is because of a classpath error > but I have copied my jar file(s) into the jdeveloper/jdbc/lib > directory (where the oracle jdbc drivers are ...) and tried the > following: > > Connection Type : 3rd Party JDBC Driver > > > Username and password correct (verified using pgAdmin) > > Driver class : org.postgresql.Driver > > Classpath : I have tried all 4 drivers that come with postgresql 7.5 > -- pg74.214.jdbc1.jar, jdbc2.jar, jdbc2ee.jar and jdbc3.jar. > > url : localhost:5432 (this works in pgAdmin) > > ... no dice. Any clues? My connection to Oracle 9i from jdeveloper > works fine ... As does my pgAdmin connection to postgresql ... > > Many thanks! > syg > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > -- Dave Cramer 519 939 0336 ICQ # 14675561