Re: 7.0 - 7.2 upgrade, org.postgresql.Driver Class not found

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Harrison <huhl(at)email-services(dot)net>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: 7.0 - 7.2 upgrade, org.postgresql.Driver Class not found
Date: 2002-08-30 18:03:01
Message-ID: 1030730582.12890.446.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

If the jar is invalid, then it simply isn't going to work. How are you
downloading the jar?
On Thu, 2002-08-29 at 19:50, Harrison wrote:
> I am trying to upgrade a working application from Postgres 7.0 to 7.2.
>
> I have downloaded the pgjdbc2.jar and installed it next to the old jar.
>
> When I try to run with the new jar, I get a class not found exception:
> org.postgresql.Driver, when I switch the path back to the old driver I
> don't have this problem (but do have others due to the mismatch between
> the jdbc jar version, and thet Postgres version.)
>
> I have tried to look into the jar with three different jar/zip viewers,
> none of which seem to think pgjdbc2.jar is in a valid zip/jar format.
> The viewers are not the latest, but they have all looked inside other
> jars in the past. I have downloaded the jar twice and they compare ok.
>
> I get the same Class not found with the older /pg72/jdbc7.1-1.2.jar as
> well.
>
> The jdbc7.1-1.2.jar is the one that works. (For the Class not found
> part)
>
> I am running RH Linux 7.2, Apache 1.3.14 ApacheJServ/1.1.2/ GNUJSP 1.0
> wrapper (yes I know, long in the tooth, but they were to be upgraded
> after the Postgres upgrade.)
>
> We are using the IBM JVM 2-13 which I believe is a Java 1.3 VM (I'm not
> sure if the JIT compiler is enabled)
>
> Any thoughts would be most welcome.
>
> Harrison
>
> huhl(at)email-services(dot)net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-08-30 18:07:32 Re: Connections/Statements/ResultSets (Was: Re: Pooling
Previous Message João Paulo Caldas Ribeiro 2002-08-30 15:35:24 Re: Connections/Statements/ResultSets (Was: Re: Pooling