Hi,

I think I have identified the problem.
If I start tomcat from the console the GDAL support is present.
If I start from our service wrapper the GDAL support is missing.

The only difference we found is the case of the environment variables and a 
semicolon at the end of the path environment variable.

Console:
GDAL_DATA      D:\init\GDAL_DATA
GDAL_DRIVER_PATH    D:\init\GDAL_DRIVER
Path                
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;...;D:\init\GDAL_NATIVE

Service wrapper:
gdal_data           D:\init\GDAL_DATA
gdal_driver_path            D:\init\GDAL_DRIVER
path                
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;...;D:\init\GDAL_NATIVE;

Is it possible that the case of the environment variable or the semicolon is 
checked?


Yours Rüdiger



Von: dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] Im Auftrag von 
Daniele Romagnoli
Gesendet: Mittwoch, 6. Mai 2015 16:13
An: Gubler, Ruediger
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] GDAL-Support for geoserver 2.7.0

Hi Ruediger,

On Wed, May 6, 2015 at 3:41 PM, Gubler, Ruediger 
<rgub...@init-ka.de<mailto:rgub...@init-ka.de>> wrote:
Hi,

Yes, that variables are configured on my system.
The "gdalinfo.exe --formats" lists the MrSID format after setting the 
GDAL_DRIVER_PATH.

A other post says that the gdal core must be installed.
I added the folder containing the gdalinfo.exe to the path - is this correct?

If you are referring to what is contained in this [1] archive (or a similar one 
you downloaded), I would say "yes".
Since gdalinfo.exe is properly working, it sounds like the core GDAL DLLs are 
found.
Last thing to check is whether the java bindings are working properly.
I would try again a gdalinfo.bat call from the javainfo folder against a sample 
file.
If everything is ok, you should see a log like this when restarting GeoServer:

it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL INFO: GDAL Native 
Library loaded (version: 1.9.2)

Please, let us know if you still have issues.
Regards,
Daniele


[1]: 
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/native/gdal/windows/MSVC2010/gdal-1.9.2-MSVC2010-x64.zip


Yours Rüdiger


Von: Ralph Dell 
[mailto:rd...@catawbacountync.gov<mailto:rd...@catawbacountync.gov>]
Gesendet: Mittwoch, 6. Mai 2015 14:12
An: Gubler, Ruediger; 
'geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>'
Betreff: RE: GDAL-Support for geoserver 2.7.0


Have you set the environment variables GDAL_DRIVER_PATH and GDAL_DATA?

Mine look like

[cid:image001.png@01D088AB.49A1F3C0]

[cid:image002.png@01D088AB.49A1F3C0]


From: Gubler, Ruediger [mailto:rgub...@init-ka.de]
Sent: Wednesday, May 06, 2015 5:06 AM
To: 
'geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>'
Subject: [Geoserver-users] GDAL-Support for geoserver 2.7.0

Hi,

I tried to install the GDAL plugin into geoserver 2.7.0.
The server Windows 2008 R2 64bit has the MVC++ 2010 64bit and MVC++ 2005 32bit 
and 64bit installed.

The installed packages are
-        geoserver-2.7.0-gdal-plugin.zip
        All jars copied to geoserver/WEB-INF/lib

-       gdal-data.zip
        Unziped to folder and GDAL_DATA environment variable set pointing to 
the folder

-       gdal-19-1600-x64-mrsid.msi
        Installed on server

-       gdal-19-1600-x64-ecw.msi
        Installed on server

-       GeoServer restarted

Unfortunately the needed MrSID datastore is not available. In the log I found 
the following:

2015-05-06 10:11:00,230 DEBUG [gce.arcgrid] - ArcGridFormatFactory is 
availaible.
2015-05-06 10:11:00,230 DEBUG [gdal.envihdr] - EnviHdrFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.jp2ecw] - JP2ECWFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.jp2mrisd] - JP2MrSIDFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.ehdr] - EsriHdrFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.dted] - DTEDFormatFactory is not availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.mrsid] - MrSIDFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.rpftoc] - RPFTOCFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.ecw] - ECWFormatFactory is not availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.nitf] - NITFFormatFactory is not availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.erdasimg] - ErdasImgFormatFactory is not 
availaible.
2015-05-06 10:11:00,262 DEBUG [gdal.jp2k] - JP2KFormatFactory is not availaible.


How can I found out what's going wrong?

Yours Rüdiger



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to