Skip site navigation (1) Skip section navigation (2)

RE: JDBC Driver Trouble on Linux

From: Michael Ansley <Michael(dot)Ansley(at)intec-telecom-systems(dot)com>
To: "'Klaus Sonnenleiter'" <klaus(dot)sonnenleiter(at)micromuse(dot)com>, Michael Ansley <Michael(dot)Ansley(at)intec-telecom-systems(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: RE: JDBC Driver Trouble on Linux
Date: 2001-03-16 16:54:43
Message-ID: 7F124BC48D56D411812500D0B747251480F4B5@FILESERVER002 (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
;-) Don't ask how we found that out.
-----Original Message-----
From: Klaus Sonnenleiter [mailto:klaus(dot)sonnenleiter(at)micromuse(dot)com]
Sent: 16 March 2001 16:43
To: Michael Ansley
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: RE: [JDBC] JDBC Driver Trouble on Linux

Yep, that did the trick - interesting...

At 03:55 PM 3/16/2001 +0000, you wrote:

Try unjarring the driver, and then jarring it back up again (making sure all
the directories are correct) but WITHOUT compression.

$ jar -xvf postgresql.jar 
$ jar -cv0f postgresql.jar org 

The first command should unpack and unj(t)ar the jar file into an org
directory with sub-directories.  The second command packs them all up again
with no compression.

This has caused me problems in the past, although I have not gone into it in
any depth, so I haven't identified the exact cause, or even exactly when it

Let me know... 


>> -----Original Message----- 
>> From: Klaus Sonnenleiter [mailto:klaus(dot)sonnenleiter(at)micromuse(dot)com] 
>> Sent: 16 March 2001 13:59 
>> To: pgsql-jdbc(at)postgresql(dot)org 
>> Subject: [JDBC] JDBC Driver Trouble on Linux 
>> I've installed Postgres on Linux and everything is working 
>> great with one 
>> exception: I can't get any JDBC drivers to work from a Linux 
>> client. I have 
>> a test program that connects and retrieves the content of a 
>> table. It works 
>> without any trouble on Windows and Solaris (connecting to 
>> the Linux box). 
>> But if I run it on the Linux machine that also has the 
>> Postgres database, I 
>> get a SQLException that says "No suitable driver". (And yes, the 
>> postgresql.jar is in the CLASSPATH, I also tried both binary 
>> versions from 
>> and I tried JDKs 1.1.8_v3 and 1.2.2 with the 
>> corresponding driver versions). Did anybody see this before? 
>> TIA 
>> Klaus Sonnenleiter 
>> ---------------------------(end of 
>> broadcast)--------------------------- 
>> TIP 1: subscribe and unsubscribe commands go to 
>> majordomo(at)postgresql(dot)org 

This e-mail and any attachments are confidential and may also be privileged
and/or copyright 
material of Intec Telecom Systems PLC (or its affiliated companies). If you
are not an 
intended or authorised recipient of this e-mail or have received it in
error, please delete 
it immediately and notify the sender by e-mail. In such a case, reading,
printing or further dissemination of this e-mail is strictly prohibited and
may be unlawful. 
Intec Telecom Systems PLC. does not represent or warrant that an attachment
hereto is free 
from computer viruses or other defects. The opinions expressed in this
e-mail and any 
attachments may be those of the author and are not necessarily those of
Intec Telecom 
Systems PLC. 

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses. 

pgsql-jdbc by date

Next:From: Robert LaPrezeDate: 2001-03-16 18:11:35
Subject: database URL
Previous:From: Klaus SonnenleiterDate: 2001-03-16 16:42:39
Subject: RE: JDBC Driver Trouble on Linux

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group