pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gunnar R|nning <gunnar@candleweb.no>
To: Peter Mount <petermount@it.maidstone.gov.uk>
Cc: 'Sondaar, Roelof' <roelof.sondaar@scania.com>
Cc: 'pgsql-interfaces@postgresql.org' <pgsql-interfaces@postgresql.org>
Subject: Re: JDBC on HP-UX
Date: 30 May 2000 11:39:39 +0200
Message-ID: <x6ya4sxtpg.fsf@thor.candleweb.no> (raw)
References: <1B3D5E532D18D311861A00600865478CF1AE7A@EXCHANGE1>

Peter Mount <petermount@it.maidstone.gov.uk> writes:

> There's two things that could go wrong here. The first one is the CLASSPATH,
> but you have the jar file in there correctly, but did you export CLASSPATH?
> If not, the shell won't pass it on to any child processes including java.
> 
> The other is the jdbc url. It should begin: jdbc:postgresql: If the url
> doesn't match, then thr driver won't recognise it, and you'll get the same
> error.
> 

Couldn't it also be that he hasn't told the system about the jdbc driver ?
You have to supply the driver as a -Djdbc.drivers argument or load it from
your Java code.

regards, 

	Gunnar




view thread (5+ messages)  latest in thread

Message-ID: <x6ya4sxtpg.fsf@thor.candleweb.no>
Permalink:  ../x6ya4sxtpg.fsf@thor.candleweb.no/
Also on:    postgresql.org/message-id/x6ya4sxtpg.fsf@thor.candleweb.no

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: gunnar@candleweb.no, petermount@it.maidstone.gov.uk, roelof.sondaar@scania.com
  Subject: Re: JDBC on HP-UX
  In-Reply-To: <x6ya4sxtpg.fsf@thor.candleweb.no>

* 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