RE: JDBC on HP-UX - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: JDBC on HP-UX
Date
Msg-id 1B3D5E532D18D311861A00600865478CF1AE7E@EXCHANGE1
Whole thread Raw
In response to JDBC on HP-UX  ("Sondaar, Roelof" <roelof.sondaar@scania.com>)
List pgsql-interfaces
That's true, I forgot that one ;-)

Peter

-- 
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council. 


-----Original Message-----
From: Gunnar R|nning [mailto:gunnar@candleweb.no]
Sent: Tuesday, May 30, 2000 10:40 AM
To: Peter Mount
Cc: 'Sondaar, Roelof'; 'pgsql-interfaces@postgresql.org'
Subject: Re: [INTERFACES] JDBC on HP-UX


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


pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: Embedded Vacuum sql
Next
From: Kovacs Zoltan Sandor
Date:
Subject: Re: ODBC driver for Windows - Problems