[postgis-users] org.postgresql.util.PGobject cannot be cast to org.postgis.PGgeometry

heidew8el at t-online.de heidew8el at t-online.de
Sun May 12 03:38:59 PDT 2013


Hi list,
problem solved.
The PostgreSQL driver was involved two times  ( on the 64-bit setup) :
1st in the lib directory of the program and ...
2nd   in the lib/ext- directory of the JRE

The cast error is thus clearly reproducible.
(Even with completely identical PostgreSQL driver versions in both 
directories.)

Martin

Am 10.04.2013 15:53, schrieb heidew8el at t-online.de:
> Hi list,
>
> any idea, why I get above cast exception on a 64-bit Windows setup ?
> ( With a 32-bit Win-XP  setup everything works fine )
>
> Thx,
> Martin.
>
> setup:
> -----------------------------------
> postgis-jdbc-2.1.0SVN.jar
> postgresql-9.2-1002.jdbc4.jar
> postgis-2.0.0SVN.jar
>
>
> 'PostgreSQL 9.1.4, compiled by Visual C++ build 1500, 64-bit'
> 'POSTGIS="2.0.3 r11132" GEOS="3.3.5-CAPI-1.7.5" PROJ="Rel. 4.8.0, 6 
> March 2012" GDAL="GDAL 1.9.1, released 2012/05/15 GDAL_DATA not found" 
> LIBXML="2.7.8" LIBJSON="UNKNOWN" (core procs from "2.0.1 r9979" need 
> upgrade) RASTER (raster lib from "2.0.1 r9979" need upgrade) (raster 
> procs from "2.0.1 r9979" need upgrade)'
>
> 'Windows 7'
> java version "1.6.0_43"
> Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130512/e8aa31c2/attachment.html>


More information about the postgis-users mailing list