Dear Daniele, many thanks for getting back to me so quickly – much appreciated.
The only reason I’m using 32bit JRE/JDK is to able enable JAI since (I am told)
this is necessary for fast rendering of images.
How necessary is JAI these days? (it’s very old and only 32 bit on Window).
It certainly would be easier to go 64 bit for everything and maybe that might
solve my problem.
Perhaps it’s not possible to have JAI enabled AND be able to server ecw
rasters.
You can’t have everything in life!
Thanks for tip about GDAL version - that maybe a problem since OSGeo4w only
gives you the ‘latest and greatest’ they use gdal 1.11.
I could uninstall gdal and install the version maintained on gisinternals
(which is gdal 1.9) – there are different MSVC compile versions (2012, 2010,
2008 etc) which I’m not sure how critical the choice is. Also no JNI files at
all. I’ve downloaded GeoTools 13-1 which has this one file :
gt-ogr-jni-13.1.jar but that’s not a dll
So where are these JNI dll’s to be found and where would I put them? – I’ve
unpacked gdal-1.9.2-MSVC2008-x64.zip but nothing with the text string jni
appears.
So to sum up, I’ll try these:
1. Forget about JAI on Windows and go 64 bit for everything.
2. Install the Windows friendly gdal 1.9 from gisinternal and re-link PATH
and environmental variables
3. Find the mysterious JNI dll’s and put them in the right place.
If I actually succeed I’ll write a detailed account for anyone else with a
similar set up.
All the best David
@boscinet
From: Daniele Romagnoli-3 [via OSGeo.org]
[mailto:[email protected]]
Sent: 30 June 2015 16:30
To: tilia
Subject: Re: Geoserver and ecw raster formats
Dear David,
I would take a look to my previous reply to similar topic from the discussion
you have already checked:
http://osgeo-org.1560.x6.nabble.com/MrSID-and-ECW-files-in-GeoServer-Issues-installing-GDAL-in-Windows-td5207798.html
Please, take a look to my reply of Jun 03, 2015; 5:55pm
It contains some useful clarifications.
That being said, I would add some feedbacks in relation to your report, which
may help in investigating your issues:
1) You shouldn't mix 32 and 64 version when dealing with native libs (DLLs),
otherwise you may get errors like this:
"Can't load IA 32-bit .dll on a AMD 64-bit platform"
Therefore I would proceed with a fully 64 arch/libs/JVM installation .
2) You said that you have installed GDAL via OSGeo4w. I'm not sure about which
GDAL version is provided with OSGeo4w.
Which version does it install?
GeoTools/GeoServer GDAL plugins are currently tied to GDAL 1.9.2 although some
users did successfully installation with GDAL 1.10.
A different version may raise issues.
Moreover, does it also contains the JNI libs? (a set of DLLs needed to bridge
java code to C libraries).
Please, let us know.
Best Regards,
Daniele
On Tue, Jun 30, 2015 at 4:25 PM, tilia <[hidden email]> wrote:
Fresh install of Geoserver + Tomcat but only default raster formats
available.
OS Windows server 2008R2 64bit, Tomcat 7.0.62, JVM 32bit jre/jdk1.7 (for
JAI), Geoserver 2.7.1.1 deployed as .war. Fast server with lots of RAM and
HD space.
All the .jars from Geoserver-2.7.1.1-gdal-plugin and imageio-ext-1.1.10-jars
placed in the \webapps\geoserver\WEB-INF\lib. GDAL installed via OSGeo4w.
Environmental variables and paths are fine since gdal works from the command
line (both cmd.exe and OSGeo shell) and gdalinfo lists all the raster
formats including ecw.
I’ve read and re-read the threads on the this subject from this forum
(thanks to Daniel Romagnoli, Mark Volz for insights covering this issue) as
well as the instructions on Geoserver.org regarding installing extra raster
formats + I have read available books on Geoserver. I’ve tried various
combinations of 32bit and 64bit versions of gdal-xxxxx-ecw.msi. (I notice
that there are very many versions of gdal_ECW_JP2ECW.dll – how significant
are these differences?). I’ve been trying these various combinations of
them, installing, uninstalling, stopping and starting many times over two
days but absolutely no way can I get Geoserver to recognise anything other
than the default raster formats and certainly not ecw.
There are clearly some crucial step/s I’ve missed and/or missing .jar/.dll
in some folder or perhaps as missing tag in a config file somewhere. Any
hints to allow me to preserver (and maintain sanity) would be appreciated!
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Geoserver-and-ecw-raster-formats-tp5213620.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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
==
GeoServer Professional Services from the experts! Visit
<http://goo.gl/it488V> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
_____
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Geoserver-and-ecw-raster-formats-tp5213620p5213640.html
To unsubscribe from Geoserver and ecw raster formats, click here
<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5213620&code=ZGF2aWRAZGxvdmVsYWNlLmZyZWVzZXJ2ZS5jby51a3w1MjEzNjIwfC03NzQ1OTI1ODA=>
.
<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
NAML
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Geoserver-and-ecw-raster-formats-tp5213620p5213649.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