Thanks Daniele and Lucas,

 

gdalinfo --version

GDAL 1.7.3, released 2010/11/10

 

OS

Debian 6.0.3 x64 (2.6.32-5-amd64)

 

java -version

java version "1.6.0_27"

Java(TM) SE Runtime Environment (build 1.6.0_27-b07)

Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)

 

Apache Tomcat/6.0.18

 

Tomcat6 environment vars

GDAL_DATA=/usr/local/gdal/data

/* JAVA is located in /opt/java/jdk

LD_LIBRARY_PATH=/opt/java/jdk/jre/lib/amd64

PATH=$PATH:$LD_LIBRARY_PATH

PATH is
/opt/java/jdk/bin:/opt/java/jdk/jre/lib/amd64:/bin:/usr/bin:/sbin:/usr/s
bin:/usr/local/bin:/opt/java/jdk/jre/lib/amd64

 

I don't have a gdal/bin/gdal/java ?

 

(Here is a list of what is in the /opt/java/jdk/jre/lib/amd64 directory)

 

/opt/java/jdk/jre/lib/amd64$ ls

gdalinfo              libj2pkcs11.so        libNCSEcw.so.0

headless              libjaas_unix.so       libNCSEcw.so.0.0.0

jli                   libjava_crw_demo.so   libNCSUtil.so

jvm.cfg               libjavaplugin_jni.so  libNCSUtil.so.0

libattach.so          libjava.so            libNCSUtil.so.0.0.0

libawt.so             libjawt.so            libnet.so

libclib_jiio.so       libJdbcOdbc.so        libnio.so

libcmm.so             libjdwp.so            libnpjp2.so

libdcpr.so            libjpeg.so            libnpt.so

libdeploy.so          libjsig.so            libogrjni.so

libdt_socket.so       libjsoundalsa.so      libogrjni.so.1

libfontmanager.so     libjsound.so          libosrjni.so

libgdalconstjni.so    libmanagement.so      libosrjni.so.1

libgdalconstjni.so.1  libmlib_image.so      librmi.so

libgdaljni.so         libmlib_jai.so        libsaproc.so

libgdaljni.so.1       libnative_chmod_g.so  libsplashscreen.so

libgdal.so            libnative_chmod.so    libunpack.so

libgdal.so.1          libNCSCnet.so         libverify.so

libgdal.so.1.14.3     libNCSCnet.so.0       libzip.so

libhprof.so           libNCSCnet.so.0.0.0   motif21

libinstrument.so      libNCSEcwC.so         native_threads

libioser12.so         libNCSEcwC.so.0       server

libj2gss.so           libNCSEcwC.so.0.0.0   xawt

libj2pcsc.so          libNCSEcw.so

 

Kind regards,

Shaun

 

From: Lucas Heezen - Covadis [mailto:hee...@covadis.nl] 
Sent: Tuesday, 18 October 2011 7:01 PM
To: Daniele Romagnoli; Kolomeitz Shaun
Cc: geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] gdal imageio extension - geoserver 2.1.1

 

Hello Shaun,

 

What you have to do is to make sure that gdal\bin\gdal\java is in your
PATH environment variabele. In this folder are the JNI drivers needed
for Geoserver.

 

 

 

Met vriendelijke groet,
Lucas Heezen

 

Covadis b.v. 

t: 026 3616600 

Geograaf 12 

f: 026 3612317 

6921 EW Duiven 

e: hee...@covadis.nl <mailto:hee...@covadis.nl> 

 

 

Van: Daniele Romagnoli [mailto:daniele.romagn...@geo-solutions.it] 
Verzonden: dinsdag 18 oktober 2011 10:41
Aan: Kolomeitz Shaun
CC: geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] gdal imageio extension - geoserver
2.1.1

 

Dear Shaun,
can you run "gdalinfo --version" and let me know what it reports?
Can you also provide me a few more details on your system? (OS, java
version, tomcat version, ...)
Can you finally provide me info on which environment variables did you
configured?

Please let me know.
Best Regards,
Daniele

On Tue, Oct 18, 2011 at 7:39 AM, Kolomeitz Shaun <
shaun.kolome...@derm.qld.gov.au> wrote:

After following the install instructions and several frustrating hours
of debugging I am unable to get the GDAL extension working in GeoServer
2.1.1.

 

The following error displays in the logfile -

 

INFO: Initializing Spring FrameworkServlet 'dispatcher'

18/10/2011 3:24:49 PM org.apache.catalina.core.StandardWrapperValve
invoke

SEVERE: Servlet.service() for servlet dispatcher threw exception

java.lang.UnsatisfiedLinkError:
org.gdal.gdal.gdalJNI.Open(Ljava/lang/String;I)J

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

        at org.gdal.gdal.gdal.Open(gdal.java:273)

        at
it.geosolutions.imageio.gdalframework.GDALUtilities.acquireDataSet(GDALU
tilities.java:291)

        at
it.geosolutions.imageio.gdalframework.GDALImageReader.setInput(GDALImage
Reader.java:818)

...snip...

 

I am able to run the gdalinfo command from the command line with no
problems and all the imageio-extensions show up fine in geoserver.

 

Can anyone suggest a path to resolution please ?

 

Many thanks,

Shaun

 

+----------------------------------------------------------------+

Think B4U Print

1 ream of paper = 6% of a tree and 5.4kg CO2 in the atmosphere

3 sheets of A4 paper = 1 litre of water

+----------------------------------------------------------------+

 


------------------------------------------------------------------------
------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
-------------------------------------------------------
Ing. Daniele Romagnoli 
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it <http://www.geo-solutions.it/> 
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://it.linkedin.com/in/danieleromagnoli


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

<<image001.gif>>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to