Re: [postgis-users] Class org.postgis.PGbox3d does not implement org.postgresql.util.PGobject

Alexander Padberg alexpadberg at web.de
Thu Feb 22 02:13:00 PST 2007


It works!
I found another postgresql-jdbc.jar in $CATALINA-TOMCAT/webapps/geoserver/WEB-INF/lib/. This one and the one from $CATALINA-TOMCAT/common/lib/ are both loaded. Seems like this was the reason for my problem. Thanks Markus for your help and keep up te good work.
Alexander

> -----Ursprüngliche Nachricht-----
> Von: PostGIS Users Discussion <postgis-users at postgis.refractions.net>
> Gesendet: 22.02.07 09:48:52
> An: postgis-users at postgis.refractions.net
> Betreff: Re: [postgis-users] Class org.postgis.PGbox3d does not implement org.postgresql.util.PGobject


> Hi, Alexander,
> 
> Alexander Padberg <alexpadberg at web.de> wrote:
> 
> > I get the following Exception while trying to generate a new postgreSQL Data Source with PostGIS extension in Geoserver:
> > "Connection failed:org.postgresql.util.PSQLException: The class org.postgis.PGbox3d does not implement org.postgresql.util.PGobject"
> > The problem seems to have something to do with the JDBC drivers for postgis and postgreSQL. I am using postgresql-8.1-407.jdbc3.jar and the postgis jar-file from http://postgis.refractions.net/download/postgis.jar. I tried the advice from the postgis-users Archive dated November 27th, 2006 and renamed the postgresql-8.1-407.jdbc3.jar to pgsql.jar but this did not solve the problem.
> 
> This sounds like a class loader problem to me. Is it possible that
> there is another postgresql-jdbc jar deployed for the same virtual
> machine (maybe in the JRE ext/ directory, or in another webapp)?
> 
> It's also possible that the jdbc3.jar is found twice by different
> branches of the classloader tree.
> 
> Classloader problems can be weird to debug, but I will try my best to
> assist you.
> 
> Regards,
> Markus
> 
> -- 
> Markus Schaber | Logical Tracking&Tracing International AG
> Dipl. Inf.     | Software Development GIS
> 
> Fight against software patents in Europe! www.ffii.org
> www.nosoftwarepatents.org
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 


_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222




More information about the postgis-users mailing list