Hi again David,
please read below...

This is my system:

Windows 8 64.
I have installed Tomcat 7.0.62, JVM 64.
I have downloaded GDAL native libs for Windows 64 from the link provided in
the GeoServer documentation.
For my system, I got this one:
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.10/native/gdal/windows/MSVC2008/gdal-1.9.2-MSVC2008-x64.zip
and extracted to c:\gdallibs

Then I have installed the ECW and MrSID msi.
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.10/native/gdal/windows/MSVC2008/gdal-19-1500-x64-ecw.msi

http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.10/native/gdal/windows/MSVC2008/gdal-19-1500-mrsid.msi

I have set the PATH environment variable on my tomcat setenv.bat script as
PATH=c:\gdallibs
Then I have set the GDAL_DRIVER_PATH environment variable on the same
script as GDAL_DRIVER_PATH=C:\Program Files\GDAL\gdalplugins
(this is where the 2 msi installers put the files by default).

Then, I have restarted GeoServer and I can see the ECW and MrSID stores as
well as the LOG stating that GDAL 1.9.2 has been properly loaded.

Then I did a test. I have installed the OSGeo4W libs, updated the tomcat
setenv scripts to use these libs instead of the previous ones and restarted
GeoServer. As expected, No GDAL drivers are available since, as already
stated in the first email, the OSGeo4W installation provides different set
of libs. Note that the native libs are a bad beast. The GeoServer GDAL
support is based on JNI. There is a jar file containing methods which calls
native methods bridging to the underlying GDAL C/C++ libs. Using different
versions of the libs (as the ones provided by OSGeo4W) doesn't guarantee
the same methods will be available and the bridging will properly work.
The libs referred by the documentation have been expressly packed to be
used by GeoServer.

Please, try again with the suggested steps and let us know. I'll be
available for further clarifications.

Best Regards,
Daniele


On Fri, Jul 3, 2015 at 8:02 PM, tilia <[email protected]>
wrote:

> Just to say that Geoserver still fails to show non-default raster sources
> despite my best efforts and the detailed advice from Daniele (thanks for
> your patience BTW).
> All paths and environmental variables are correct and all the required jar
> files in geoserver\WEB-INF\lib
> My problem seems similar to Attakorn Poonkesorn who posted recently.
> OSGeo4W64 places gdal libraries in C:\OSGeo4W64\bin and this where my gdal
> variables point to.
> I've put those 4*jni*.dll files in there too.
> The gdal_data files are in C:\OSGeo4W64\share\gdal.
> gdal works perfectly from the command line.
> I've rather run out of time on this - all I can say is that Geoserver is
> very difficult to set up in anything other default mode. I'm not a java
> expert - perhaps you have to be.
> If anyone can come up with a fail safe explanation of how to have raster
> functionality that includes ecw I'd love to know!
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Geoserver-and-ecw-raster-formats-tp5213620p5214253.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

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

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

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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to