From: Ron St-Pierre <rstpierre@syscor.com>
To: Kris Jurka <books@ejurka.com>
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: JDeveloper
Date: Mon, 01 Nov 2004 16:58:21 -0800
Message-ID: <4186DBAD.2020501@syscor.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0411011832420.21952@leary.csoft.net>
References: <4186C6DE.4060603@syscor.com>
<Pine.BSO.4.56.0411011832420.21952@leary.csoft.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: rstpierre@syscor.com, books@ejurka.com
Subject: Re: JDeveloper
In-Reply-To: <4186DBAD.2020501@syscor.com>
References: <4186C6DE.4060603@syscor.com> <Pine.BSO.4.56.0411011832420.21952@leary.csoft.net> <4186DBAD.2020501@syscor.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox