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

From: Harrison <huhl(at)email-services(dot)net>
To: Dave Cramer <Dave(at)micro-automation(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 19:26:30
Message-ID: 3D6FC6E6.3F3E2754@email-services.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I used NS 4.7 to down load the following:
http://jdbc.postgresql.org/download/pgjdbc2.jar

And compared it to the one installed by the Postgres 7.2.2 RPM

They match

Harrison

Dave Cramer wrote:

> 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 Zengfa Gao 2002-08-30 20:01:51 Re: Updateable ResultSet
Previous Message Sean Gates 2002-08-30 18:44:41 JDBC updateNull method returns null pointer exception