Check that postgres is running, and with -i set. From your url, I'm assuming
that the application is running on the same box as postgres?
Enterprise Support Officer, Maidstone Borough Council
All views expressed within this email are not the views of Maidstone Borough
From: tony [mailto:tony(at)uickarate(dot)com]
Sent: Thursday, November 16, 2000 4:23 PM
Subject: [INTERFACES] JDBC prob. Continued
I'm using 7.0.
Greg told me that SQLException is thrown by
so I've changed by getConnection to
and the error changed to something like this:
SQLException: Connection refused. Check that th ehostname and port is
tha thte postmaster is runing with the -i flag, which enables TCP/IP
----- Original Message -----
From: "Peter Mount" <petermount(at)maidstone(dot)gov(dot)uk>
To: "'tony'" <tony(at)uickarate(dot)com>; "pgsql-interfaces"
Sent: Thursday, November 16, 2000 11:14 AM
Subject: RE: [INTERFACES] JDBC Problem
> What version of the driver are you using?
> Versions 6.5.x and earlier used postgresql.Driver but 7.0 onwards uses
> Peter Mount
> Enterprise Support Officer, Maidstone Borough Council
> Email: petermount(at)maidstone(dot)gov(dot)uk
> WWW: http://www.maidstone.gov.uk
> All views expressed within this email are not the views of Maidstone
> -----Original Message-----
> From: tony [mailto:tony(at)uickarate(dot)com]
> Sent: Thursday, November 16, 2000 2:55 PM
> To: pgsql-interfaces
> Subject: [INTERFACES] JDBC Problem
> I have a problem with loading the JDBC Driver.
> So far, my java code does nothing but to load the driver, and
> it gives SQLException with message "No suitable driver".
> I made the postgresql.jar with
> >make jdbc2
> (because I am using jdk1.3)
> and I used
> >jar tf postgresql.jar
> to make sure that the driver was included.
> My CLASSPATH is following:
> I am trying to load the driver by doing
> This is under linux platform. Please let me know what could be
> wrong if you see anything wrong.
pgsql-interfaces by date
|Next:||From: Peter Mount||Date: 2000-11-17 07:27:12|
|Subject: RE: JDBC prob. Continued|
|Previous:||From: Peter Mount||Date: 2000-11-17 07:18:25|
|Subject: RE: JDBC Problem|