RE: JDBC Driver Trouble on Linux

From: Klaus Sonnenleiter <klaus(dot)sonnenleiter(at)micromuse(dot)com>
To: 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:42:39
Message-ID: 5.0.2.1.0.20010316114200.00ae93c8@mailhost.micromuse.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)sonnenleiter(at)micromuse(dot)com>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
> >> 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(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,
>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.
>__________________________________________________________________________

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michael Ansley 2001-03-16 16:54:43 RE: JDBC Driver Trouble on Linux
Previous Message Michael Ansley 2001-03-16 15:55:08 RE: JDBC Driver Trouble on Linux