[Geoserver-users] GDAL plugin not loading

I having trouble installing the GDAL plugin for Geoserver 2.4.5. When I attempt to add a new store to Geoserver, of the type that GDAL supports, none are listed. There’s no mention of any issues in the Geoserver log, but the Catalina log does report:

WARNING: Failed to load the GDAL native libs. This is not a problem unless you need to use the GDAL plugins: they won’t be enabled.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can’t find dependent libraries

Similarly when I attempt to run GDAL’s javainfo/gdalinfo.bat I get a similar error:

c:\gdal-1.9.2\javainfo>gdalinfo.bat

Native library load failed.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can’t find dependent libraries

Exception in thread “main” java.lang.UnsatisfiedLinkError: org.gdal.gdal.gdalJNI.AllRegister()V

at org.gdal.gdal.gdalJNI.AllRegister(Native Method)

at org.gdal.gdal.gdal.AllRegister(gdal.java:475)

at gdalinfo.main(gdalinfo.java:87)

Running gdalinfo.exe works as expected.

System/Software:

· Windows 7 Professional (x64) SP1

· Geoserver 2.4.5, deployed via web archive on Tomcat

· Geoserver’s GDAL plugin (2.4.5)

· Apache Tomcat 7.0.52 (x64)

· GDAL Binaries, 1.9.2 (MSVC2010 x64)

· Java JDK 1.7.0_40

o Java™ SE Runtime Environment (build 1.7.0_40-b43)

o Java HotSpot™ 64-Bit Server VM (build 24.0-b56, mixed mode)

· Microsoft Visual C++ 2010 x64 Redistributable (10.0.30319)

I have gdal-data deployed, as well as GDAL binaries in my PATH. I also have a GDAL_DATA environment variable set to the appropriate directory. I have gone through various permutations of reinstalling the above software without any luck. For completeness, here’s a copy of Geoserver’s log:

2014-03-12 13:53:13,729 WARN [config.CustomEditorConfigurer] - Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [org.geotools.util.Version; offending editor instance: org.geoserver.platform.util.VersionPropertyEditor@anonymised.com

2014-03-12 13:53:13,957 INFO [geoserver.global] -

Ciao Luke,
please, find my comments inline below....

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Mar 12, 2014 at 6:57 PM, Lambert, Luke
<luke.lambert@anonymised.com> wrote:

I having trouble installing the GDAL plugin for Geoserver 2.4.5. When I
attempt to add a new store to Geoserver, of the type that GDAL supports,
none are listed. There's no mention of any issues in the Geoserver log, but
the Catalina log does report:

WARNING: Failed to load the GDAL native libs. This is not a problem unless
you need to use the GDAL plugins: they won't be enabled.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can't find
dependent libraries

Similarly when I attempt to run GDAL's javainfo/gdalinfo.bat I get a similar
error:

c:\gdal-1.9.2\javainfo>gdalinfo.bat

Native library load failed.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can't find
dependent libraries

Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.gdal.gdal.gdalJNI.AllRegister()V

        at org.gdal.gdal.gdalJNI.AllRegister(Native Method)

        at org.gdal.gdal.gdal.AllRegister(gdal.java:475)

        at gdalinfo.main(gdalinfo.java:87)

I am assuming you are using the binaries provided with ImageIO-Ext, right?
If so are you using the correct version for your platform (32 vs 63 bits)?

Moreover, did you check that you do not have multiple copies gdal
binaries around?

Running gdalinfo.exe works as expected.

I am assuming you are talking about the exe we provide with our binaries?

System/Software:

· Windows 7 Professional (x64) SP1

· Geoserver 2.4.5, deployed via web archive on Tomcat

· Geoserver's GDAL plugin (2.4.5)

· Apache Tomcat 7.0.52 (x64)

· GDAL Binaries, 1.9.2 (MSVC2010 x64)

· Java JDK 1.7.0_40

o Java(TM) SE Runtime Environment (build 1.7.0_40-b43)

o Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

· Microsoft Visual C++ 2010 x64 Redistributable (10.0.30319)

I have gdal-data deployed, as well as GDAL binaries in my PATH. I also have
a GDAL_DATA environment variable set to the appropriate directory. I have
gone through various permutations of reinstalling the above software without
any luck. For completeness, here's a copy of Geoserver's log:

2014-03-12 13:53:13,729 WARN [config.CustomEditorConfigurer] - Passing
PropertyEditor instances into CustomEditorConfigurer is deprecated: use
PropertyEditorRegistrars or PropertyEditor class names instead. Offending
key [org.geotools.util.Version; offending editor instance:
org.geoserver.platform.util.VersionPropertyEditor@anonymised.com

2014-03-12 13:53:13,957 INFO [geoserver.global] -

----------------------------------

- GEOSERVER_DATA_DIR: C:\Program Files\Apache Software Foundation\Tomcat
7.0\webapps\geoserver\data

----------------------------------

2014-03-12 13:53:14,099 INFO [org.geoserver] - Loaded style 'burg'

2014-03-12 13:53:14,100 INFO [org.geoserver] - Loaded style 'capitals'

2014-03-12 13:53:14,101 INFO [org.geoserver] - Loaded style 'cite_lakes'

2014-03-12 13:53:14,101 INFO [org.geoserver] - Loaded style 'dem'

2014-03-12 13:53:14,102 INFO [org.geoserver] - Loaded style 'giant_polygon'

2014-03-12 13:53:14,102 INFO [org.geoserver] - Loaded style 'grass'

2014-03-12 13:53:14,103 INFO [org.geoserver] - Loaded style 'green'

2014-03-12 13:53:14,103 INFO [org.geoserver] - Loaded style 'line'

2014-03-12 13:53:14,104 INFO [org.geoserver] - Loaded style 'poi'

2014-03-12 13:53:14,104 INFO [org.geoserver] - Loaded style 'point'

2014-03-12 13:53:14,105 INFO [org.geoserver] - Loaded style 'polygon'

2014-03-12 13:53:14,105 INFO [org.geoserver] - Loaded style 'poly_landmarks'

2014-03-12 13:53:14,106 INFO [org.geoserver] - Loaded style 'pophatch'

2014-03-12 13:53:14,107 INFO [org.geoserver] - Loaded style 'population'

2014-03-12 13:53:14,107 INFO [org.geoserver] - Loaded style 'rain'

2014-03-12 13:53:14,108 INFO [org.geoserver] - Loaded style 'raster'

2014-03-12 13:53:14,109 INFO [org.geoserver] - Loaded style 'restricted'

2014-03-12 13:53:14,109 INFO [org.geoserver] - Loaded style 'simple_roads'

2014-03-12 13:53:14,110 INFO [org.geoserver] - Loaded style 'simple_streams'

2014-03-12 13:53:14,110 INFO [org.geoserver] - Loaded style 'tiger_roads'

2014-03-12 13:53:14,111 INFO [org.geoserver] - Loaded default workspace cite

2014-03-12 13:53:14,116 INFO [org.geoserver] - Loaded workspace 'cite'

2014-03-12 13:53:14,118 INFO [org.geoserver] - Loaded workspace
'it.geosolutions'

2014-03-12 13:53:14,119 INFO [org.geoserver] - Loaded workspace 'nurc'

2014-03-12 13:53:14,120 INFO [org.geoserver] - Loaded workspace 'sde'

2014-03-12 13:53:14,121 INFO [org.geoserver] - Loaded workspace 'sf'

2014-03-12 13:53:14,122 INFO [org.geoserver] - Loaded workspace 'tiger'

2014-03-12 13:53:14,123 INFO [org.geoserver] - Loaded workspace 'topp'

2014-03-12 13:53:14,207 INFO [org.geoserver] - Loaded store 'arcGridSample',
enabled

2014-03-12 13:53:14,211 INFO [org.geoserver] - Loaded coverage store
'arcGridSample'

2014-03-12 13:53:14,529 WARN [referencing.factory] - Axis elements found in
a wkt definition, the force longitude first axis order hint might not be
respected:

PROJCS["WGS84 / Simple Mercator", GEOGCS["WGS 84", DATUM["WGS_1984",
SPHEROID["WGS_1984", 6378137.0, 298.257223563]], PRIMEM["Greenwich", 0.0],
UNIT["degree", 0.017453292519943295]], PROJECTION["Mercator_1SP_Google"],
PARAMETER["latitude_of_origin", 0.0], PARAMETER["central_meridian", 0.0],
PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["x", EAST], AXIS["y",
NORTH], AUTHORITY["EPSG","54004"]]

2014-03-12 13:53:14,627 INFO [org.geoserver] - Loaded coverage 'Arc_Sample',
enabled

2014-03-12 13:53:14,636 INFO [org.geoserver] - Loaded coverage
'arcGridSample'

2014-03-12 13:53:14,728 INFO [org.geoserver] - Loaded layer 'Arc_Sample'

2014-03-12 13:53:14,733 INFO [org.geoserver] - Loaded store 'img_sample2',
disabled

2014-03-12 13:53:14,733 INFO [org.geoserver] - Loaded coverage store
'img_sample2'

2014-03-12 13:53:15,009 INFO [org.geoserver] - Loaded coverage 'Pk50095',
disabled

2014-03-12 13:53:15,010 INFO [org.geoserver] - Loaded coverage 'img_sample2'

2014-03-12 13:53:15,011 INFO [org.geoserver] - Loaded layer 'Pk50095'

2014-03-12 13:53:15,016 INFO [org.geoserver] - Loaded store 'mosaic',
enabled

2014-03-12 13:53:15,017 INFO [org.geoserver] - Loaded coverage store
'mosaic'

2014-03-12 13:53:15,023 INFO [org.geoserver] - Loaded coverage 'mosaic',
enabled

2014-03-12 13:53:15,023 INFO [org.geoserver] - Loaded coverage 'mosaic'

2014-03-12 13:53:15,427 WARN [imagemosaic.Utils] - Unable to find sample
image for path C:\Program Files\Apache Software Foundation\Tomcat
7.0\webapps\geoserver\data\coverages\mosaic_sample\sample_image

2014-03-12 13:53:15,427 WARN [gce.imagemosaic] - Unable to find sample image
for path
file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/geoserver/data/coverages/mosaic_sample/mosaic.shp

2014-03-12 13:53:15,447 INFO [org.geoserver] - Loaded layer 'mosaic'

2014-03-12 13:53:15,451 INFO [org.geoserver] - Loaded store
'worldImageSample', enabled

2014-03-12 13:53:15,451 INFO [org.geoserver] - Loaded coverage store
'worldImageSample'

2014-03-12 13:53:15,455 INFO [org.geoserver] - Loaded coverage 'Img_Sample',
enabled

2014-03-12 13:53:15,456 INFO [org.geoserver] - Loaded coverage
'worldImageSample'

2014-03-12 13:53:15,470 INFO [org.geoserver] - Loaded layer 'Img_Sample'

2014-03-12 13:53:15,542 INFO [org.geoserver] - Loaded store 'sf', enabled

2014-03-12 13:53:15,544 INFO [org.geoserver] - Loaded data store 'sf'

2014-03-12 13:53:15,586 INFO [org.geoserver] - Loaded feature type
'archsites', enabled

2014-03-12 13:53:15,590 INFO [org.geoserver] - Loaded feature type 'sf'

2014-03-12 13:53:15,600 INFO [org.geoserver] - Loaded layer 'archsites'

2014-03-12 13:53:15,604 INFO [org.geoserver] - Loaded feature type
'bugsites', enabled

2014-03-12 13:53:15,605 INFO [org.geoserver] - Loaded feature type 'sf'

2014-03-12 13:53:15,607 INFO [org.geoserver] - Loaded layer 'bugsites'

2014-03-12 13:53:15,610 INFO [org.geoserver] - Loaded feature type
'restricted', enabled

2014-03-12 13:53:15,611 INFO [org.geoserver] - Loaded feature type 'sf'

2014-03-12 13:53:15,612 INFO [org.geoserver] - Loaded layer 'restricted'

2014-03-12 13:53:15,616 INFO [org.geoserver] - Loaded feature type 'roads',
enabled

2014-03-12 13:53:15,617 INFO [org.geoserver] - Loaded feature type 'sf'

2014-03-12 13:53:15,619 INFO [org.geoserver] - Loaded layer 'roads'

2014-03-12 13:53:15,623 INFO [org.geoserver] - Loaded feature type
'streams', enabled

2014-03-12 13:53:15,623 INFO [org.geoserver] - Loaded feature type 'sf'

2014-03-12 13:53:15,625 INFO [org.geoserver] - Loaded layer 'streams'

2014-03-12 13:53:15,628 INFO [org.geoserver] - Loaded store 'sfdem', enabled

2014-03-12 13:53:15,629 INFO [org.geoserver] - Loaded coverage store 'sfdem'

2014-03-12 13:53:15,633 INFO [org.geoserver] - Loaded coverage 'sfdem',
enabled

2014-03-12 13:53:15,633 INFO [org.geoserver] - Loaded coverage 'sfdem'

2014-03-12 13:53:15,735 INFO [org.geoserver] - Loaded layer 'sfdem'

2014-03-12 13:53:15,739 INFO [org.geoserver] - Loaded store 'nyc', enabled

2014-03-12 13:53:15,739 INFO [org.geoserver] - Loaded data store 'nyc'

2014-03-12 13:53:15,751 INFO [org.geoserver] - Loaded feature type
'giant_polygon', enabled

2014-03-12 13:53:15,752 INFO [org.geoserver] - Loaded feature type 'nyc'

2014-03-12 13:53:15,753 INFO [org.geoserver] - Loaded layer 'giant_polygon'

2014-03-12 13:53:15,756 INFO [org.geoserver] - Loaded feature type 'poi',
enabled

2014-03-12 13:53:15,756 INFO [org.geoserver] - Loaded feature type 'nyc'

2014-03-12 13:53:15,758 INFO [org.geoserver] - Loaded layer 'poi'

2014-03-12 13:53:15,761 INFO [org.geoserver] - Loaded feature type
'poly_landmarks', enabled

2014-03-12 13:53:15,761 INFO [org.geoserver] - Loaded feature type 'nyc'

2014-03-12 13:53:15,763 INFO [org.geoserver] - Loaded layer 'poly_landmarks'

2014-03-12 13:53:15,766 INFO [org.geoserver] - Loaded feature type
'tiger_roads', enabled

2014-03-12 13:53:15,766 INFO [org.geoserver] - Loaded feature type 'nyc'

2014-03-12 13:53:15,768 INFO [org.geoserver] - Loaded layer 'tiger_roads'

2014-03-12 13:53:15,774 INFO [org.geoserver] - Loaded store
'states_shapefile', enabled

2014-03-12 13:53:15,774 INFO [org.geoserver] - Loaded data store
'states_shapefile'

2014-03-12 13:53:15,782 INFO [org.geoserver] - Loaded feature type 'states',
enabled

2014-03-12 13:53:15,782 INFO [org.geoserver] - Loaded feature type
'states_shapefile'

2014-03-12 13:53:15,789 INFO [org.geoserver] - Loaded layer 'states'

2014-03-12 13:53:15,793 INFO [org.geoserver] - Loaded store 'taz_shapes',
enabled

2014-03-12 13:53:15,793 INFO [org.geoserver] - Loaded data store
'taz_shapes'

2014-03-12 13:53:15,807 INFO [org.geoserver] - Loaded feature type
'tasmania_cities', enabled

2014-03-12 13:53:15,808 INFO [org.geoserver] - Loaded feature type
'taz_shapes'

2014-03-12 13:53:15,812 INFO [org.geoserver] - Loaded layer
'tasmania_cities'

2014-03-12 13:53:15,814 INFO [org.geoserver] - Loaded feature type
'tasmania_roads', enabled

2014-03-12 13:53:15,814 INFO [org.geoserver] - Loaded feature type
'taz_shapes'

2014-03-12 13:53:15,816 INFO [org.geoserver] - Loaded layer 'tasmania_roads'

2014-03-12 13:53:15,818 INFO [org.geoserver] - Loaded feature type
'tasmania_state_boundaries', enabled

2014-03-12 13:53:15,819 INFO [org.geoserver] - Loaded feature type
'taz_shapes'

2014-03-12 13:53:15,821 INFO [org.geoserver] - Loaded layer
'tasmania_state_boundaries'

2014-03-12 13:53:15,824 INFO [org.geoserver] - Loaded feature type
'tasmania_water_bodies', enabled

2014-03-12 13:53:15,825 INFO [org.geoserver] - Loaded feature type
'taz_shapes'

2014-03-12 13:53:15,827 INFO [org.geoserver] - Loaded layer
'tasmania_water_bodies'

2014-03-12 13:53:15,834 INFO [org.geoserver] - Loaded layer group
'spearfish'

2014-03-12 13:53:15,835 INFO [org.geoserver] - Loaded layer group 'tasmania'

2014-03-12 13:53:15,836 INFO [org.geoserver] - Loaded layer group 'tiger-ny'

2014-03-12 13:53:15,890 INFO [storage.DefaultStorageFinder] -
******************************************************************************************************

2014-03-12 13:53:15,890 INFO [storage.DefaultStorageFinder] - *** Found
System environment variable TEMP set to C:\windows\TEMP, using it as the
default prefix. ***

2014-03-12 13:53:15,890 INFO [storage.DefaultStorageFinder] -
******************************************************************************************************

2014-03-12 13:53:15,890 INFO [config.XMLConfiguration] - Will look for
geowebcache.xml in 'C:\windows\TEMP\geowebcache'

2014-03-12 13:53:16,006 INFO [gwc.layer] - Initializing GWC configuration
based on GeoServer's Catalog

2014-03-12 13:53:16,006 INFO [gwc.layer] - GeoServer TileLayer store base
directory is: C:\Program Files\Apache Software Foundation\Tomcat
7.0\webapps\geoserver\data\gwc-layers

2014-03-12 13:53:16,007 INFO [gwc.layer] - Loading tile layers from
C:\Program Files\Apache Software Foundation\Tomcat
7.0\webapps\geoserver\data\gwc-layers

2014-03-12 13:53:16,078 INFO [gwc.layer] - GWC configuration based on
GeoServer's Catalog loaded successfuly

2014-03-12 13:53:16,078 INFO [config.XMLConfiguration] - Found configuration
file in C:\windows\TEMP\geowebcache

2014-03-12 13:53:16,113 INFO [config.XMLConfiguration] - Configuration file
validated fine.

2014-03-12 13:53:16,118 INFO [config.XMLConfiguration] - Initializing
GridSets from C:\windows\TEMP\geowebcache

2014-03-12 13:53:16,118 INFO [config.XMLConfiguration] - Initializing layers
from C:\windows\TEMP\geowebcache

2014-03-12 13:53:16,118 INFO [layer.TileLayerDispatcher] - Configuration
C:\windows\TEMP\geowebcache contained no layers.

2014-03-12 13:53:16,134 INFO [storage.MetastoreRemover] - Cleaning up the
old disk quota database

2014-03-12 13:53:16,146 INFO [diskquota.ConfigLoader] - DiskQuota
configuration not found:
C:\windows\TEMP\geowebcache\geowebcache-diskquota.xml

2014-03-12 13:53:16,153 INFO [diskquota.ConfigLoader] - DiskQuota
configuration not found:
C:\windows\TEMP\geowebcache\geowebcache-diskquota.xml

2014-03-12 13:53:16,156 INFO [diskquota.DiskQuotaMonitor] - Setting up disk
quota periodic enforcement task

2014-03-12 13:53:16,156 INFO [diskquota.DiskQuotaMonitor] - 0 layers
configured with their own quotas.

2014-03-12 13:53:16,156 INFO [diskquota.DiskQuotaMonitor] - 22 layers
attached to global quota 500.0 MB

2014-03-12 13:53:16,166 INFO [diskquota.DiskQuotaMonitor] - Disk quota
periodic enforcement task set up every 10 SECONDS

2014-03-12 13:53:16,247 INFO [org.geoserver] - Loaded service 'wcs', enabled

2014-03-12 13:53:16,263 INFO [org.geoserver] - Loaded service 'wfs', enabled

2014-03-12 13:53:16,283 INFO [org.geoserver] - Loaded service 'wms', enabled

2014-03-12 13:53:16,296 INFO [org.geoserver] - Loaded service
'WPSInfoImpl--eec25ab:144b666f362:-7fff', enabled

2014-03-12 13:53:16,318 INFO [gwc.config] - Initializing GeoServer specific
GWC configuration from gwc-gs.xml

2014-03-12 13:53:16,379 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/gwc/service/**] onto handler 'dispatcher'

2014-03-12 13:53:16,398 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked
setServletPrefix(gwc)

2014-03-12 13:53:16,407 INFO [georss.GeoRSSPoller] - Initializing GeoRSS
poller in a background job...

2014-03-12 13:53:16,408 INFO [georss.GeoRSSPoller] - No enabled GeoRSS feeds
found, poller will not run.

2014-03-12 13:53:16,472 INFO [rest.RESTDispatcher] - Created RESTDispatcher
with 14 paths

2014-03-12 13:53:16,494 INFO [wms.WMSService] - Will NOT recombine tiles for
non-tiling clients.

2014-03-12 13:53:16,494 INFO [wms.WMSService] - Will proxy requests to
backend that are not getmap or getcapabilities.

2014-03-12 13:53:17,203 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/kml] onto handler 'dispatcher'

2014-03-12 13:53:17,204 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/kml/*] onto handler 'dispatcher'

2014-03-12 13:53:17,204 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/kml/icon/**/*] onto handler 'kmlIconService'

2014-03-12 13:53:17,274 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/ows/**] onto handler 'dispatcher'

2014-03-12 13:53:17,274 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/ows] onto handler 'dispatcher'

2014-03-12 13:53:17,282 INFO [org.geoserver] - GeoServer configuration lock
is enabled

2014-03-12 13:53:17,347 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wcs] onto handler 'dispatcher'

2014-03-12 13:53:17,347 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wcs/**] onto handler 'dispatcher'

2014-03-12 13:53:17,992 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wfs/*] onto handler 'dispatcher'

2014-03-12 13:53:17,992 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/TestWfsPost] onto handler 'wfsTestServlet'

2014-03-12 13:53:17,992 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wfs] onto handler 'dispatcher'

2014-03-12 13:53:20,575 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wms/*] onto handler 'dispatcher'

2014-03-12 13:53:20,575 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wms] onto handler 'dispatcher'

2014-03-12 13:53:20,620 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/animate] onto handler 'dispatcher'

2014-03-12 13:53:20,620 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/animate/*] onto handler 'dispatcher'

2014-03-12 13:53:20,723 INFO [geoserver.wps] - Found 48 bindable processes
in Geometry processes

2014-03-12 13:53:20,737 INFO [geoserver.wps] - Found 29 bindable processes
in Vector processes

2014-03-12 13:53:21,062 INFO [geoserver.wps] - Found 89 bindable processes
in Deprecated processes

2014-03-12 13:53:21,065 INFO [geoserver.wps] - Found 4 bindable processes in
GeoServer specific processes

2014-03-12 13:53:21,066 INFO [geoserver.wps] - Found 11 bindable processes
in Raster processes

2014-03-12 13:54:27,902 WARN [geoserver.security] - Strong cryptograhpy is
NOT available

Download and install of policy files recommended

from
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

Luke

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hello Simone,

I am assuming you are using the binaries provided with ImageIO-Ext, right?

Correct. I have the jars for the Geoserver GDAL plugin (that matches my Geoserver version) in my geoserver/WEB-INF directory, and I have the native dlls (gdal-1.9.2-MSVC2010-x64.zip) in a folder that the PATH environment variable points to.

If so are you using the correct version for your platform (32 vs 63 bits)?

Everything is 64 bit as far as I can tell.

Moreover, did you check that you do not have multiple copies gdal binaries around?

It appears that ArcExplorer, ArcEngine, and ArcMap all have their own gdal dlls/data directory. Short of uninstalling all ESRI products, is there a way to rule out their interference?

I am assuming you are talking about the exe we provide with our binaries?

Yes- this is part of the native binary distribution in gdal-1.9.2-MSVC2010-x64.zip. If I execute "where gdalinfo" at a command prompt, it identifies the files I've deployed as part of the GDAL plugin installation process.

-----Original Message-----
From: simboss1@anonymised.com [mailto:simboss1@anonymised.com] On Behalf Of Simone Giannecchini
Sent: Tuesday, March 18, 2014 8:45 PM
To: Lambert, Luke
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GDAL plugin not loading

Ciao Luke,
please, find my comments inline below....

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Mar 12, 2014 at 6:57 PM, Lambert, Luke <luke.lambert@anonymised.com> wrote:

I having trouble installing the GDAL plugin for Geoserver 2.4.5. When
I attempt to add a new store to Geoserver, of the type that GDAL
supports, none are listed. There's no mention of any issues in the
Geoserver log, but the Catalina log does report:

WARNING: Failed to load the GDAL native libs. This is not a problem
unless you need to use the GDAL plugins: they won't be enabled.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can't find
dependent libraries

Similarly when I attempt to run GDAL's javainfo/gdalinfo.bat I get a
similar
error:

c:\gdal-1.9.2\javainfo>gdalinfo.bat

Native library load failed.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can't find
dependent libraries

Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.gdal.gdal.gdalJNI.AllRegister()V

        at org.gdal.gdal.gdalJNI.AllRegister(Native Method)

        at org.gdal.gdal.gdal.AllRegister(gdal.java:475)

        at gdalinfo.main(gdalinfo.java:87)

I am assuming you are using the binaries provided with ImageIO-Ext, right?
If so are you using the correct version for your platform (32 vs 63 bits)?

Moreover, did you check that you do not have multiple copies gdal binaries around?

Running gdalinfo.exe works as expected.

I am assuming you are talking about the exe we provide with our binaries?

System/Software:

* Windows 7 Professional (x64) SP1

* Geoserver 2.4.5, deployed via web archive on Tomcat

* Geoserver's GDAL plugin (2.4.5)

* Apache Tomcat 7.0.52 (x64)

* GDAL Binaries, 1.9.2 (MSVC2010 x64)

* Java JDK 1.7.0_40

o Java(TM) SE Runtime Environment (build 1.7.0_40-b43)

o Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

* Microsoft Visual C++ 2010 x64 Redistributable (10.0.30319)

I have gdal-data deployed, as well as GDAL binaries in my PATH. I
also have a GDAL_DATA environment variable set to the appropriate
directory. I have gone through various permutations of reinstalling
the above software without any luck. For completeness, here's a copy of Geoserver's log:
<snip>

Dear Luke,
please, read below...

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Mar 19, 2014 at 3:17 PM, Lambert, Luke
<luke.lambert@anonymised.com> wrote:

Hello Simone,

I am assuming you are using the binaries provided with ImageIO-Ext, right?

Correct. I have the jars for the Geoserver GDAL plugin (that matches my Geoserver version) in my geoserver/WEB-INF directory, and I have the native dlls (gdal-1.9.2-MSVC2010-x64.zip) in a folder that the PATH environment variable points to.

If so are you using the correct version for your platform (32 vs 63 bits)?

Everything is 64 bit as far as I can tell.

Moreover, did you check that you do not have multiple copies gdal binaries around?

It appears that ArcExplorer, ArcEngine, and ArcMap all have their own gdal dlls/data directory. Short of uninstalling all ESRI products, is there a way to rule out their interference?

Yes, installing everything on a separate box :slight_smile:

Apart from this, you can fiddle with the PATH envirnment variable for
the GeoServer process. This is always a mess on windows but you can
pretty much isolate GeoServer that way.
One thing I would do is to try if possible on a clean box the same
install to make sure it works and the error is not _really_ somewhere
into how you configured the various bits rather then into
how GeoServer may interact with other things on the same box.

In the past we have seen restrictive configs on Windows that gave
problems with the MSVC libs.

I am assuming you are talking about the exe we provide with our binaries?

Yes- this is part of the native binary distribution in gdal-1.9.2-MSVC2010-x64.zip. If I execute "where gdalinfo" at a command prompt, it identifies the files I've deployed as part of the GDAL plugin installation process.

Check a gdalinfo --formats

make sure it shows the formats.

If java bindigns don't work then this usually means there is something
interfering, as I mentioned before.

-----Original Message-----
From: simboss1@anonymised.com [mailto:simboss1@anonymised.com] On Behalf Of Simone Giannecchini
Sent: Tuesday, March 18, 2014 8:45 PM
To: Lambert, Luke
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GDAL plugin not loading

Ciao Luke,
please, find my comments inline below....

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Mar 12, 2014 at 6:57 PM, Lambert, Luke <luke.lambert@anonymised.com> wrote:

I having trouble installing the GDAL plugin for Geoserver 2.4.5. When
I attempt to add a new store to Geoserver, of the type that GDAL
supports, none are listed. There's no mention of any issues in the
Geoserver log, but the Catalina log does report:

WARNING: Failed to load the GDAL native libs. This is not a problem
unless you need to use the GDAL plugins: they won't be enabled.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can't find
dependent libraries

Similarly when I attempt to run GDAL's javainfo/gdalinfo.bat I get a
similar
error:

c:\gdal-1.9.2\javainfo>gdalinfo.bat

Native library load failed.

java.lang.UnsatisfiedLinkError: C:\gdal-1.9.2\gdaljni.dll: Can't find
dependent libraries

Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.gdal.gdal.gdalJNI.AllRegister()V

        at org.gdal.gdal.gdalJNI.AllRegister(Native Method)

        at org.gdal.gdal.gdal.AllRegister(gdal.java:475)

        at gdalinfo.main(gdalinfo.java:87)

I am assuming you are using the binaries provided with ImageIO-Ext, right?
If so are you using the correct version for your platform (32 vs 63 bits)?

Moreover, did you check that you do not have multiple copies gdal binaries around?

Running gdalinfo.exe works as expected.

I am assuming you are talking about the exe we provide with our binaries?

System/Software:

* Windows 7 Professional (x64) SP1

* Geoserver 2.4.5, deployed via web archive on Tomcat

* Geoserver's GDAL plugin (2.4.5)

* Apache Tomcat 7.0.52 (x64)

* GDAL Binaries, 1.9.2 (MSVC2010 x64)

* Java JDK 1.7.0_40

o Java(TM) SE Runtime Environment (build 1.7.0_40-b43)

o Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

* Microsoft Visual C++ 2010 x64 Redistributable (10.0.30319)

I have gdal-data deployed, as well as GDAL binaries in my PATH. I
also have a GDAL_DATA environment variable set to the appropriate
directory. I have gone through various permutations of reinstalling
the above software without any luck. For completeness, here's a copy of Geoserver's log:
<snip>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users