I'm not sure, but have you checked, whether you have installed the gdal version matches to the gdal-extensions. I remember that I installed a newer gdal, lets say 1.8.x and had similar problems with an older geoserver/geotools release. Which version of geoserver do you have installed? In addition have a look at geoserver gdal docs : http://docs.geoserver.org/latest/en/user/data/gdal.html and check out the geosolutions blog : http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
Frank 2011/12/8 Patrick D <[email protected]>: > Thanks Frank! I had both 32bit and 64bit versions of the JDK > installed. I made sure Tomcat referenced the 32bit version and the > options to add an Erdas IMG store now works. However, a new error is > encountered now. When adding an Erdas IMG store, and pointing it to > the img file, upon clicking 'Save' to add the store, an error is > thrown: > > SEVERE: Servlet.service() for servlet [dispatcher] in context with > path [/geoserver] threw exception [Handler processing failed; nested > exception is java.lang.UnsatisfiedLinkError: > org.gdal.gdal.gdalJNI.Open(Ljava/lang/String;I)J] with root cause > java.lang.UnsatisfiedLinkError: > org.gdal.gdal.gdalJNI.Open(Ljava/lang/String;I)J > > I found a link here that describes a similar situation > (http://docs.geoserver.org/2.0.x/en/user/data/gdal.html#note-on-running-geoserver-as-a-service-on-windows), > and I made both adjustments - changing both the wrapper.conf AND > adding the native libs to that directory. The above error is still > thrown upon adding an Erdas IMG store. Any ideas on what the solution > to this error may be? > > Thanks, > > Patrick > > > On Thu, Dec 8, 2011 at 5:09 AM, Frank Gasdorf > <[email protected]> wrote: >> I assume that you are using a 64 java environment, please try to >> install a 32 JRE and run GeoServer with this JRE. >> >> Cheers >> - Frank >> >> 2011/12/7 Patrick D <[email protected]>: >>> Hello all, >>> >>> I'm running Geoserver on Win7 64bit, running on Tomcat as a service.. >>> I'm trying to enable the ImageIO-ext GDAL libraries in order to use >>> some Erdas IMG rasters. When starting GeoServer, I receive the >>> following 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:\Program Files >>> (x86)\imageio-ext\gdaljni.dll: Can't load IA 32-bit .dll on a AMD >>> 64-bit platform. >>> >>> Is this error to say that GDAL is unable to run on a 64-bit server? As >>> far as I know, there are no ImageIO-ext libraries for 64-bit, only for >>> 32-bit, so I seem to be kind of stuck right now. >>> >>> Thanks, >>> >>> Patrick >>> >>> ------------------------------------------------------------------------------ >>> Cloud Services Checklist: Pricing and Packaging Optimization >>> This white paper is intended to serve as a reference, checklist and point of >>> discussion for anyone considering optimizing the pricing and packaging model >>> of a cloud services business. Read Now! >>> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >>> _______________________________________________ >>> Geoserver-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
