fixed db connection in geoserver plugin