[Geoserver-users] Geoserver + GDAL extension

Hi all,

I did a install with the 2.15.0 version of Geoserver but I keep having the same problems. This is what the logging says:

INFO | jvm 1 | 2019/04/02 13:57:22 | apr 02, 2019 1:57:22 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/02 13:57:22 | INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/02 13:57:22 | java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path

INFO | jvm 1 | 2019/04/02 13:57:22 | apr 02, 2019 1:57:22 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/02 13:57:22 | 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.

INFO | jvm 1 | 2019/04/02 13:57:22 | java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path

The documentation how to install the GDAL binary libraries is not clear to me. https://docs.geoserver.org/latest/en/user/data/raster/gdal.html

Which .zip file do I have to download from Gisinternals?

  • Compiled binaries in a single .zip package (this one I downloaded and extracted at C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL )

  • GDAL and MapServer sources

  • Compiled libraries and headers

Because the Environment variables weren’t set by the batch file sdkshell.bat I’ve set the variables myself

  • C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Oracle\product\12.2.0\client_1\bin;SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\GeoServer 2.15.0\bin;

  • C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL;

  • C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

Then Ive added to Wrapper.conf:

  • wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL

Does anyone have suggestions ?

Met vriendelijke groet,

cid:image001.jpg@anonymised.com807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Hi Marcel,
The GDAL Native libs (DLLs) need to be referred by the wrapper java library path.
So you may need to update your wrapper config with something like this:

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin
wrapper.java.library.path.3=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

Or simply copy the gdalalljni.dll from GDAL\bin\gdal\java to GDAL\bin and remove wrapper.java.library.path.3

Please, let us know if that works.
Best Regards,
Daniele

image001.jpg

image002.png

···

Regards,
Daniele Romagnoli

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 di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Hi,
gdalljni.dll from wrapper.java.library.path.3 requires gdal.dll and some others available in .path.2.
Maybe the paths search aren’t combined together.

You may want to try to move the file
C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java\gdalalljni.dll
into

*C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin*
so it lives beside the other DLLs.

And then, remove wrapper.java.library.path.3 and only have
wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

Please, let me know.
Best Regards,
Daniele

PS: please the whole mailing list cc-ed so future users having similar issue may check these feedbacks.

image001.jpg

image002.png

image002.png

···

Regards,
Daniele Romagnoli

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 di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Hi,

I moved gdalljni.dll To the bin directory but still having the same issues.

INFO | jvm 1 | 2019/04/08 11:54:00 | apr 08, 2019 11:54:00 AM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/08 11:54:00 | INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/08 11:54:00 | java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdalalljni.dll: Can’t find dependent libraries

INFO | jvm 1 | 2019/04/08 11:54:00 | apr 08, 2019 11:54:00 AM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/08 11:54:00 | 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

My Wrapper.conf looks like this:

# Java Library Path (location of Wrapper.DLL or libwrapper.so)

wrapper.java.library.path.1=wrapper/lib

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Verzonden: maandag 8 april 2019 11:47

image001.jpg

image002.png

image002.png

image002.png

···

Hi,

gdalljni.dll from wrapper.java.library.path.3 requires gdal.dll and some others available in .path.2.

Maybe the paths search aren’t combined together.

You may want to try to move the file

C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java\gdalalljni.dll

into

*C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin*

so it lives beside the other DLLs.

And then, remove wrapper.java.library.path.3 and only have

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

Please, let me know.

Best Regards,

Daniele

PS: please the whole mailing list cc-ed so future users having similar issue may check these feedbacks.

On Mon, Apr 8, 2019 at 11:33 AM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

Hi Danielle,

Thanks for your response. I’ve added the two lines you defined and got a different error in de log file now.

INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/08 11:03:27 | java.lang.UnsatisfiedLinkError:

C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java\gdalalljni.dll: Can’t find dependent libraries

I also copied the gdalalljni.dll to the bin directory but this doesn’t change the error in de log file.

To me it is unclear which GDAL dependent libraries are needed.

Do you know what is needed?

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Van: Daniele Romagnoli [mailto:daniele.romagnoli@…1107…]
Verzonden: vrijdag 5 april 2019 14:11
Aan: Lagarde, Marcel <M.Lagarde@…9796…>
CC: geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] Geoserver + GDAL extension

Hi Marcel,

The GDAL Native libs (DLLs) need to be referred by the wrapper java library path.

So you may need to update your wrapper config with something like this:

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

wrapper.java.library.path.3=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

Or simply copy the gdalalljni.dll from GDAL\bin\gdal\java to GDAL\bin and remove wrapper.java.library.path.3

Please, let us know if that works.

Best Regards,

Daniele

On Wed, Apr 3, 2019 at 10:11 AM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

Hi all,

I did a install with the 2.15.0 version of Geoserver but I keep having the same problems. This is what the logging says:

INFO | jvm 1 | 2019/04/02 13:57:22 | apr 02, 2019 1:57:22 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/02 13:57:22 | INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/02 13:57:22 | java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path

INFO | jvm 1 | 2019/04/02 13:57:22 | apr 02, 2019 1:57:22 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/02 13:57:22 | 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.

INFO | jvm 1 | 2019/04/02 13:57:22 | java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path

The documentation how to install the GDAL binary libraries is not clear to me. https://docs.geoserver.org/latest/en/user/data/raster/gdal.html

Which .zip file do I have to download from Gisinternals?

  • Compiled binaries in a single .zip package (this one I downloaded and extracted at C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL )

  • GDAL and MapServer sources

  • Compiled libraries and headers

Because the Environment variables weren’t set by the batch file sdkshell.bat I’ve set the variables myself

  • C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Oracle\product\12.2.0\client_1\bin;SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\GeoServer 2.15.0\bin;

  • C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL;

  • C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

Then Ive added to Wrapper.conf:

  • wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL

Does anyone have suggestions ?

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)


Op dit bericht is de proclaimer van de gemeente Helmond van toepassing www.helmond.nl/Actueel-Proclaimer



Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Regards,

Daniele Romagnoli

==

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 di Montramito 3/A

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


Op dit bericht is de proclaimer van de gemeente Helmond van toepassing www.helmond.nl/Actueel-Proclaimer


Regards,

Daniele Romagnoli

==

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 di Montramito 3/A

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Hi Marcel,
just for clarification, which GDAL version are you referring to?
I’m seeing sometime you refer to gdalalljni.dll and sometime gdaljni.dll

Please, let us know.
Regards,
Daniele

image001.jpg

image002.png

image002.png

image002.png

···

Regards,
Daniele Romagnoli

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 di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Hi Danielle,

I’m referring to ‘release-1911-gdal-2-4-0-mapserver-7-2-2’

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Verzonden: maandag 8 april 2019 12:37

image001.jpg

image002.png

image002.png

image005.png

···

Hi Marcel,

just for clarification, which GDAL version are you referring to?

I’m seeing sometime you refer to gdalalljni.dll and sometime gdaljni.dll

Please, let us know.

Regards,

Daniele

On Mon, Apr 8, 2019 at 11:58 AM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

Hi,

I moved gdalljni.dll To the bin directory but still having the same issues.

INFO | jvm 1 | 2019/04/08 11:54:00 | apr 08, 2019 11:54:00 AM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/08 11:54:00 | INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/08 11:54:00 | java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdalalljni.dll: Can’t find dependent libraries

INFO | jvm 1 | 2019/04/08 11:54:00 | apr 08, 2019 11:54:00 AM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/08 11:54:00 | 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

My Wrapper.conf looks like this:

# Java Library Path (location of Wrapper.DLL or libwrapper.so)

wrapper.java.library.path.1=wrapper/lib

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Van: Daniele Romagnoli [mailto:daniele.romagnoli@…1107…]
Verzonden: maandag 8 april 2019 11:47
Aan: Lagarde, Marcel <M.Lagarde@…9796…>; geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] Geoserver + GDAL extension

Hi,

gdalljni.dll from wrapper.java.library.path.3 requires gdal.dll and some others available in .path.2.

Maybe the paths search aren’t combined together.

You may want to try to move the file

C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java\gdalalljni.dll

into

*C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin*

so it lives beside the other DLLs.

And then, remove wrapper.java.library.path.3 and only have

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

Please, let me know.

Best Regards,

Daniele

PS: please the whole mailing list cc-ed so future users having similar issue may check these feedbacks.

On Mon, Apr 8, 2019 at 11:33 AM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

Hi Danielle,

Thanks for your response. I’ve added the two lines you defined and got a different error in de log file now.

INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/08 11:03:27 | java.lang.UnsatisfiedLinkError:

C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java\gdalalljni.dll: Can’t find dependent libraries

I also copied the gdalalljni.dll to the bin directory but this doesn’t change the error in de log file.

To me it is unclear which GDAL dependent libraries are needed.

Do you know what is needed?

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Van: Daniele Romagnoli [mailto:daniele.romagnoli@…1107…]
Verzonden: vrijdag 5 april 2019 14:11
Aan: Lagarde, Marcel <M.Lagarde@…9796…>
CC: geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] Geoserver + GDAL extension

Hi Marcel,

The GDAL Native libs (DLLs) need to be referred by the wrapper java library path.

So you may need to update your wrapper config with something like this:

wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

wrapper.java.library.path.3=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

Or simply copy the gdalalljni.dll from GDAL\bin\gdal\java to GDAL\bin and remove wrapper.java.library.path.3

Please, let us know if that works.

Best Regards,

Daniele

On Wed, Apr 3, 2019 at 10:11 AM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

Hi all,

I did a install with the 2.15.0 version of Geoserver but I keep having the same problems. This is what the logging says:

INFO | jvm 1 | 2019/04/02 13:57:22 | apr 02, 2019 1:57:22 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/02 13:57:22 | INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/02 13:57:22 | java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path

INFO | jvm 1 | 2019/04/02 13:57:22 | apr 02, 2019 1:57:22 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/02 13:57:22 | 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.

INFO | jvm 1 | 2019/04/02 13:57:22 | java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path

The documentation how to install the GDAL binary libraries is not clear to me. https://docs.geoserver.org/latest/en/user/data/raster/gdal.html

Which .zip file do I have to download from Gisinternals?

  • Compiled binaries in a single .zip package (this one I downloaded and extracted at C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL )

  • GDAL and MapServer sources

  • Compiled libraries and headers

Because the Environment variables weren’t set by the batch file sdkshell.bat I’ve set the variables myself

  • C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Oracle\product\12.2.0\client_1\bin;SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\GeoServer 2.15.0\bin;

  • C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL;

  • C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

Then Ive added to Wrapper.conf:

  • wrapper.java.library.path.2=C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL

Does anyone have suggestions ?

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)


Op dit bericht is de proclaimer van de gemeente Helmond van toepassing www.helmond.nl/Actueel-Proclaimer



Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Regards,

Daniele Romagnoli

==

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 di Montramito 3/A

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


Op dit bericht is de proclaimer van de gemeente Helmond van toepassing www.helmond.nl/Actueel-Proclaimer


Regards,

Daniele Romagnoli

==

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 di Montramito 3/A

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


Op dit bericht is de proclaimer van de gemeente Helmond van toepassing www.helmond.nl/Actueel-Proclaimer


Regards,

Daniele Romagnoli

==

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 di Montramito 3/A

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Hi Marcel,

As we said in a previous email, GDAL 2.x is only officially supported in GeoServer 2.16.x, as reported here

Previous GeoServer may require some additional tuning to support that recent version:
https://docs.geoserver.org/stable/en/user/data/raster/gdal.html#installing-gdal-native-libraries

Check the first “Warning” section of that link.

You may need to replace the default *gdal.jar deployed in GeoServer with the one being provided by that GDAL installation.
(Based on your previous emails, I think that you will find it in:
C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java\gdal.jar)

If still not working and still getting the Can’t find dependent libraries, you may consider using a “Dependency walker” tool which will list all the dependent libraries of a provided DLL.

Regards,
Daniele

image001.jpg

image002.png

image002.png

image005.png

···

Regards,
Daniele Romagnoli

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 di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

This documentation is “latest”, means it works only with the development series. There has been a big changes in GDAL support on the dev series,
which now works only with GDAL 2.x, while 2.15.x and 2.14.x are working with GDAL 1.9.x instead.
Always try to refer to the pertinent documentation version, in particular, for 2.15.x you have to pick the “stable” version, not “latest”:

https://docs.geoserver.org/stable/en/user/data/raster/gdal.html

Cheers
Andrea

image001.jpg

image002.png

···

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Ok, so I was using the wrong version…. This is what I’ve done.

Download from https://demo.geo-solutions.it/share/github/imageio-ext/releases/native/gdal/1.9.2/

  • gdal-data.zip

  • gdal-1.9.2-MSVC2010-x64.zip

I’ve replaced the gdal-data.zip files with the ones in C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal-data

GDAL_DATA environment variable is also still looking to C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal-data

Then I replaced the gdal-1.9.2-MSVC2010-x64.zip with the ones in C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin

The following dir’s are on my Path: C:\Program Files (x86)\GeoServer 2.15.0\bin;

C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL;

C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\GDAL\bin\gdal\java

This is what the logging says:

apr 08, 2019 4:34:28 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/08 16:34:28 | INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/08 16:34:28 | java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path

INFO | jvm 1 | 2019/04/08 16:34:28 | apr 08, 2019 4:34:28 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/08 16:34:28 | 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.

INFO | jvm 1 | 2019/04/08 16:34:28 | java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\GeoServer 2.15.0\wrapper\lib\gdaljni.dll: Can’t load AMD 64-bit .dll on a IA 32-bit platform

I’ve installed Geoserver 32 bit because I’m running it as a service. Also installed jre-8u201-windows-x64 because of the UnsatisfiedLinkError, but this isn’t giving me the sollution as well.

Do I need a clean install or what do I forget?

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Verzonden: maandag 8 april 2019 14:32

image001.jpg

image002.png

···

On Wed, Apr 3, 2019 at 10:11 AM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

The documentation how to install the GDAL binary libraries is not clear to me. https://docs.geoserver.org/latest/en/user/data/raster/gdal.html

This documentation is “latest”, means it works only with the development series. There has been a big changes in GDAL support on the dev series,

which now works only with GDAL 2.x, while 2.15.x and 2.14.x are working with GDAL 1.9.x instead.

Always try to refer to the pertinent documentation version, in particular, for 2.15.x you have to pick the “stable” version, not “latest”:

https://docs.geoserver.org/stable/en/user/data/raster/gdal.html

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

If you are running 32 bit GeoServer GDAL must be 32 bit too.

Cheers
Andrea

image001.jpg

image002.png

···

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Okay thanks! I’m getting further but now the Geoserver service is started but the website http://localhost:8080/geoserver/web gives the following message:

HTTP ERROR 503

Problem accessing /geoserver/web. Reason:

Service Unavailable

image001.jpg

image002.png

···

Powered by Jetty:// 9.4.12.v20180830

This is confusing because in the https://docs.geoserver.org/stable/en/user/data/raster/gdal.html says under ‘Extra Steps for Windows Platforms’ that make sure you download the 32 bit version if you are using a 32 bit version of Windows or the 64 bit version (has a “-x64” suffix in the name of the zip file) if you are running a 64 bit version of Windows.

Since I’m running a 64 bit version of Windows it was likely for me to use gdal-1.9.2-MSVC2010-x64.zip (I run MV C++ 2010 x64 redis.)

But okay it is clear to me now that I have to use the x86 GDAL and because I only run MV C++ 208 x86 redis., I downloaded the gdal-1.9.2-MSVC2008.zip

I’ve replaced them with the files in C:\Program Files (x86)\GeoServer 2.15.0\GDAL\bin

Although I still have the waring below, GDAL libraries are now loaded

INFO: Failed to load the GDAL native libs from “gdalalljni”. Falling back to “gdaljni”.

INFO | jvm 1 | 2019/04/10 16:25:32 | java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path

INFO | jvm 1 | 2019/04/10 16:25:32 | apr 10, 2019 4:25:32 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/10 16:25:32 | INFO: GDAL Native Library loaded (version: 1.9.2)

A quick search on the internet tells me that maybe the java JRE is causing problems but I have installed the 32bit version. What else could be the problem?

Met vriendelijke groet,

cid:image001.jpg@...9807...

Marcel Lagarde

Functioneel beheerder Geo
Tel. 0492 58 7531 / 06 20049723

DEF Email Signature ALGEMEEN Helmond-01 (004)

Van: Andrea Aime [mailto:andrea.aime@…1107…]
Verzonden: maandag 8 april 2019 16:56
Aan: Lagarde, Marcel <M.Lagarde@…9796…>
CC: Daniele Romagnoli <daniele.romagnoli@…1107…>; geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] Geoserver + GDAL extension

On Mon, Apr 8, 2019 at 4:54 PM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

I’ve installed Geoserver 32 bit because I’m running it as a service. Also installed jre-8u201-windows-x64 because of the UnsatisfiedLinkError, but this isn’t giving me the sollution as well.

If you are running 32 bit GeoServer GDAL must be 32 bit too.

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Hi all,

Unfortunately Im still struggling with the Geoserver with GDAL install. Does anybody knows what I’ve done wrong?

Since I’m running Geoserver 2.15.0 as a service I’ve installed:

  • Java JDK/JRE 32bit

  • GDAL 2.15.0 extension extracted the files in the Web-inf/lib

  • C++ redestributables 2010 x86 with gdal-1.9.2-MSVC2010

  • Downloaded the gdal-data

  • release-1900-gdal-2-4-0-mapserver-7-2-2 from GISinternals.com, with C++ redestributables 2015 x86

Referensed all-in the Path environment variable

My wrapper.conf looks like this:

# Java Library Path (location of Wrapper.DLL or libwrapper.so)

wrapper.java.library.path.1=wrapper/lib

wrapper.java.library.path.2=C:\GDAL\bin\gdal\java

wrapper.java.library.path.3=C:\Install\gdal-1.9.2-MSVC2010

The Wrapper.log gives the following errors.

STATUS | wrapper | 2019/04/23 10:28:59 | → Wrapper Started as Service

STATUS | wrapper | 2019/04/23 10:28:59 | Java Service Wrapper Community Edition 3.3.3

STATUS | wrapper | 2019/04/23 10:28:59 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved.

STATUS | wrapper | 2019/04/23 10:28:59 | http://wrapper.tanukisoftware.org

STATUS | wrapper | 2019/04/23 10:28:59 |

STATUS | wrapper | 2019/04/23 10:28:59 | Launching a JVM…

INFO | jvm 1 | 2019/04/23 10:29:00 | WrapperManager: Initializing…

INFO | jvm 1 | 2019/04/23 10:29:00 | 2019-04-23 10:29:00.273:INFO::WrapperSimpleAppMain: Logging initialized @448ms to org.eclipse.jetty.util.log.StdErrLog

INFO | jvm 1 | 2019/04/23 10:29:00 | 2019-04-23 10:29:00.445:WARN:oejx.XmlConfiguration:WrapperSimpleAppMain: Property ‘jetty.port’ is deprecated, use ‘jetty.http.port’ instead

INFO | jvm 1 | 2019/04/23 10:29:00 | 2019-04-23 10:29:00.445:WARN:oejx.XmlConfiguration:WrapperSimpleAppMain: Property ‘http.timeout’ is deprecated, use ‘jetty.http.idleTimeout’ instead

INFO | jvm 1 | 2019/04/23 10:29:00 | 2019-04-23 10:29:00.445:INFO:oejs.Server:WrapperSimpleAppMain: jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_202-b08

INFO | jvm 1 | 2019/04/23 10:29:00 | 2019-04-23 10:29:00.460:INFO:oejdp.ScanningAppProvider:WrapperSimpleAppMain: Deployment monitor [file:///C:/Program%20Files%20(x86)/GeoServer%202.15.0/webapps/] at interval 1

INFO | jvm 1 | 2019/04/23 10:29:01 | 2019-04-23 10:29:01.882:INFO:oejw.StandardDescriptorProcessor:WrapperSimpleAppMain: NO JSP Support for /geoserver, did not find org.eclipse.jetty.jsp.JettyJspServlet

INFO | jvm 1 | 2019/04/23 10:29:02 | 2019-04-23 10:29:02.414:INFO:oejs.session:WrapperSimpleAppMain: DefaultSessionIdManager workerName=node0

INFO | jvm 1 | 2019/04/23 10:29:02 | 2019-04-23 10:29:02.414:INFO:oejs.session:WrapperSimpleAppMain: No SessionScavenger set, using defaults

INFO | jvm 1 | 2019/04/23 10:29:02 | 2019-04-23 10:29:02.414:INFO:oejs.session:WrapperSimpleAppMain: node0 Scavenging every 660000ms

INFO | jvm 1 | 2019/04/23 10:29:02 | Native library load failed.

INFO | jvm 1 | 2019/04/23 10:29:02 | java.lang.UnsatisfiedLinkError: C:\Install\gdal-1.9.2-MSVC2010\gdaljni.dll: The specified procedure could not be found

INFO | jvm 1 | 2019/04/23 10:29:02 | ERROR 1: Can’t load requested DLL: C:\GDAL\bin\gdal\plugins\gdal_GEOR.dll

INFO | jvm 1 | 2019/04/23 10:29:02 | 193: %1 is not a valid Win32 application.

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 | ERROR 1: Can’t load requested DLL: C:\GDAL\bin\gdal\plugins\gdal_GEOR.dll

INFO | jvm 1 | 2019/04/23 10:29:02 | 193: %1 is not a valid Win32 application.

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 | ERROR 1: Can’t load requested DLL: C:\GDAL\bin\gdal\plugins\ogr_OCI.dll

INFO | jvm 1 | 2019/04/23 10:29:02 | 193: %1 is not a valid Win32 application.

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 | ERROR 1: Can’t load requested DLL: C:\GDAL\bin\gdal\plugins\ogr_OCI.dll

INFO | jvm 1 | 2019/04/23 10:29:02 | 193: %1 is not a valid Win32 application.

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 |

INFO | jvm 1 | 2019/04/23 10:29:02 | apr 23, 2019 10:29:02 AM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL

INFO | jvm 1 | 2019/04/23 10:29:02 | INFO: GDAL Native Library loaded (version: 2.4.0)

INFO | jvm 1 | 2019/04/23 10:29:03 | apr 23, 2019 10:29:03 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:03 | WARNING: Extension lookup ‘XStreamPersisterInitializer’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:03 | apr 23, 2019 10:29:03 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:03 | WARNING: Extension lookup ‘ExtensionFilter’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:03 | apr 23, 2019 10:29:03 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:03 | WARNING: Extension lookup ‘ExtensionProvider’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:03 | apr 23, 2019 10:29:03 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:03 | WARNING: Extension lookup ‘ExtensionFilter’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:03 | log4j:WARN File option not set for appender [geoserverlogfile].

INFO | jvm 1 | 2019/04/23 10:29:03 | log4j:WARN Are you using FileAppender instead of ConsoleAppender?

INFO | jvm 1 | 2019/04/23 10:29:03 | 2019-04-23 10:29:03.414:INFO:oejshC.geoserver:WrapperSimpleAppMain: Initializing Spring root WebApplicationContext

INFO | jvm 1 | 2019/04/23 10:29:05 | apr 23, 2019 10:29:05 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:05 | WARNING: Extension lookup ‘GeoServerSecurityProvider’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:05 | apr 23, 2019 10:29:05 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:05 | WARNING: Extension lookup ‘ExtensionFilter’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:05 | apr 23, 2019 10:29:05 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:05 | WARNING: Extension lookup ‘ExtensionProvider’, but ApplicationContext is unset.

INFO | jvm 1 | 2019/04/23 10:29:05 | apr 23, 2019 10:29:05 AM org.geoserver.platform.GeoServerExtensions checkContext

INFO | jvm 1 | 2019/04/23 10:29:05 | WARNING: Extension lookup ‘ExtensionFilter’, but ApplicationContext is unset.

···

Kind regards,

Marcel Lagarde

Van: Andrea Aime [mailto:andrea.aime@…1107…]
Verzonden: maandag 8 april 2019 16:56
Aan: Lagarde, Marcel <M.Lagarde@…9796…>
CC: Daniele Romagnoli <daniele.romagnoli@…1107…>; geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] Geoserver + GDAL extension

On Mon, Apr 8, 2019 at 4:54 PM Lagarde, Marcel <M.Lagarde@…9796…> wrote:

I’ve installed Geoserver 32 bit because I’m running it as a service. Also installed jre-8u201-windows-x64 because of the UnsatisfiedLinkError, but this isn’t giving me the sollution as well.

If you are running 32 bit GeoServer GDAL must be 32 bit too.

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

On 23-04-19 11:58, Lagarde, Marcel wrote:

/INFO | jvm 1 | 2019/04/23 10:29:02 | 193: %1 is not a valid Win32 application./

This error "193: %1 is not a valid Win32 application" suggests something is not coping with spaces in a path somewhere, this could be caused by eg. C:\Program Files\ is not being quoted where it should

-M

Or that those are 64 bit dlls. Does "C:\GDAL\bin\gdal\plugins\gdal_GEOR.dll" exist?
Can’t help much beyond that as I try not to do windows too often

Ian

···

Ian Turton