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

Markus Schaber schabi at logix-tt.com
Thu Feb 22 00:42:31 PST 2007


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



More information about the postgis-users mailing list