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 0106A3A477D for ; Tue, 2 Nov 2004 00:56:55 +0000 (GMT) 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 31393-02 for ; Tue, 2 Nov 2004 00:56:46 +0000 (GMT) Received: from silmaril.syscor.priv (h24-108-208-253.sbm.shawcable.net [24.108.208.253]) by svr1.postgresql.org (Postfix) with ESMTP id DEDC03A4749 for ; Tue, 2 Nov 2004 00:56:48 +0000 (GMT) Received: from syscor.com (strider.syscor.priv [192.168.1.3]) by silmaril.syscor.priv (8.12.8/8.12.8) with ESMTP id iA20uqCN023743; Mon, 1 Nov 2004 16:56:52 -0800 Message-ID: <4186DBAD.2020501@syscor.com> Date: Mon, 01 Nov 2004 16:58:21 -0800 From: Ron St-Pierre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka , pgsql-jdbc Subject: Re: JDeveloper References: <4186C6DE.4060603@syscor.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 200411/15 X-Sequence-Number: 11437 Kris Jurka wrote: >On Mon, 1 Nov 2004, Ron St-Pierre wrote: > > >>In jdeveloper I'm trying to create a new database connection >>-> Connection Type: Third Party JDBC Driver >>-> username: postgres pasword: mypassword >>-> Driver Class: org.postgresql.Driver >>-> Classpath: c:\pg74.215.jdbc2.jar >>-> Source Path: c:\pg74.215.jdbc2.jar >>and then I run Test Connection: >> java.lang.NullPointerException >> >> > >Do you have the stacktrace in addition to the message? > >Did you give it a postgresql URL ? > > *cough* *cough* of course *ahem* and now that I've supplied the correct one it's telling me that the connection has been refused, and to check hostname, port.etc. This isn't a new database or setup, I can still access it using pgAdminIII (just tried), I ssh into the server all the time, etc. I also tried to specify the port after the url (192.x.x.x:5432) but then it complains that I don't have a suitable driver. Any ideas? Thanks Ron