From: Oliver Jowett <oliver@opencloud.com>
To: Peter Cook <ttpcook@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Still baffled by a CONNECTion problem
Date: Sat, 08 Oct 2005 22:47:14 +1300
Message-ID: <434795A2.3080606@opencloud.com> (raw)
In-Reply-To: <BAY103-F31AFB9DF052576CD5CE9BEB7870@phx.gbl>
References: <BAY103-F31AFB9DF052576CD5CE9BEB7870@phx.gbl>
Peter Cook wrote:
> catch (ClassNotFoundException cnfe)
> {
> System.out.println("ClassNotFoundException.");
> }
> }
>
> The output from this code is as follows:
> Classpath = C:\Eclipse\Workspace\Test
> Classpath = C:\Eclipse\Workspace\Test;C:\Program
> Files\PostgreSQL\8.0\jdbc\postgresql-8.0-311.jdbc3.jar
> Drivers = C:\Program Files\PostgreSQL\8.0\jdbc
> DriverDir is a directory
> Driver is a file
>
> So:
> - for some unknown reason my Eclipse editor has reset my CLASSPATH
> - but despite this I am able to programmatically adjust the CLASSPATH
> property to suit
> - Java recognized the directory where I have installed the JAR file as a
> valid directory and is able to locate the relevant driver file
>
> WHY WON’T IT LOAD the DRIVER?????
Your sample output did not include the ClassNotFoundException output, so
it seems to me that the driver actually loaded fine?
-O
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: oliver@opencloud.com, ttpcook@hotmail.com
Subject: Re: Still baffled by a CONNECTion problem
In-Reply-To: <434795A2.3080606@opencloud.com>
References: <BAY103-F31AFB9DF052576CD5CE9BEB7870@phx.gbl> <434795A2.3080606@opencloud.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