Title: RE: [JDBC] JDBC Driver Trouble on Linux

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...


>> -----Original Message-----
>> From: Klaus Sonnenleiter [mailto:[EMAIL PROTECTED]]
>> Sent: 16 March 2001 13:59
>> 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

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.

Reply via email to