1 Reply Latest reply on Jul 6, 2014 10:37 AM by Dominik Beste

    PostGIS on WildFly8

    Dominik Beste Newbie



      I am having problems using HIbernate with PostGIS and Postgreesql on a WildFly8 server. When I deploy my application, I get this error:


      Can't convert object of type org.postgresql.util.PGobject

      I had this error before on Glassfish and fixed it by adding postgresql-9.3-1101.jdbc41.jar and postgis-jdbc-1.5.3.jar to GLASSFISH_HOME/domains/domain1/lib/ext

      I think the problem is also that the PostGIS classes don't get loaded or with a different classloader. I posted more details here: http://stackoverflow.com/questions/24565301/hibernate-spatial-and-postgis-with-wildfly-8

      Any help or an example of a working PostGIS deployment on WildFly8 would be much appreciated!