RE: JDBC Driver Trouble on Linux - Mailing list pgsql-jdbc

From Klaus Sonnenleiter
Subject RE: JDBC Driver Trouble on Linux
Date
Msg-id 5.0.2.1.0.20010316114200.00ae93c8@mailhost.micromuse.com
Whole thread Raw
In response to RE: JDBC Driver Trouble on Linux  (Michael Ansley <Michael.Ansley@intec-telecom-systems.com>)
List pgsql-jdbc
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 happens.

Let me know...

MikeA





>> -----Original Message-----
>> From: Klaus Sonnenleiter [mailto:klaus.sonnenleiter@micromuse.com]
>> Sent: 16 March 2001 13:59
>> To: pgsql-jdbc@postgresql.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
>> jdbc.postgresql.org 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@postgresql.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, reproducing,
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:

Previous
From: Michael Ansley
Date:
Subject: RE: JDBC Driver Trouble on Linux
Next
From: Michael Ansley
Date:
Subject: RE: JDBC Driver Trouble on Linux