[Geoserver-devel] [JIRA] (GEOS-7870) GeoFence: zipped module contains useless/harmful postgis jars

Emanuele Tajariol created an issue

GeoServer / BugGEOS-7870

GeoFence: zipped module contains useless/harmful postgis jars

Issue Type:

BugBug

Affects Versions:

2.9.2

Assignee:

Emanuele Tajariol

Created:

18/Nov/16 6:58 PM

Priority:

MediumMedium

Reporter:

Emanuele Tajariol

The zip file for geofence-server contains 2 postgis jars.
They are useless, in that at the moment geofence-server uses an H2 DB.
Furthermore, they are harmful, since postgis-stubs-1.3.3.jar duplicates the PGConnection interface, also declared in the postgresql jdbc jar. The version in stubs anyway is missing a method, so if this jar is loaded before the postgresql one, it will throw
{{java.lang.NoSuchMethodError: org.postgresql.core.BaseConnection.getPreferQueryMode()Lorg/postgresql/jdbc/PreferQueryMode;
}} and GeoServer will not start.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.552.6#100018-sha1:e2f2197)

Atlassian logo