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