[Geoserver-users] Could not install GDAL extension on GeoServer binary installation

Hi,
ver
I followed the instructions from GeoServer-2.4.4 for installing GDAL
extension into my GDAL binary installation. After installing everything and
set the GDAL_DATA and LD_LIBRARY_PATH environment variables, I restarted
geoserver using:

sudo service geoserver restart and saw the following message on the console.

27 Feb 15:12:52 DEBUG [gdal.jp2k] - JP2KFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.erdasimg] - ErdasImgFormatFactory is not
availaible.
27 Feb 15:12:52 DEBUG [gdal.ehdr] - EsriHdrFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.jp2mrisd] - JP2MrSIDFormatFactory is not
availaible.
27 Feb 15:12:52 DEBUG [gdal.dted] - DTEDFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.jp2ecw] - JP2ECWFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.envihdr] - EnviHdrFormatFactory is not
availaible.
27 Feb 15:12:52 DEBUG [gdal.ecw] - ECWFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.nitf] - NITFFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.mrsid] - MrSIDFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gce.arcgrid] - ArcGridFormatFactory is availaible.
27 Feb 15:12:52 DEBUG [gdal.rpftoc] - RPFTOCFormatFactory is not availaible.

This problem only occurs on GeoServer binary version running with Jetty. I
installed GeoServer in tomcat using WAR file before and was able to install
GDAL extension without problem. We need to deploy GeoServer using the
binary version. Any help on this is greatly appreciated. Let me know if
you need more information.

Many thanks in advance.

Regards,
Tam

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Could-not-install-GDAL-extension-on-GeoServer-binary-installation-tp5106502.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I found the problem and trying to figure out what is the best way to fix it.
I deploy GeoServer on Linux and start/stop Geoserver using to "sudo service
geoserver start/stop/restart" command. I downloaded GDAL native libraries,
placed it in a folder and set the LD_LIBRARY_PATH to point to the folder. I
put the LD_LIBRARY_PATH statement in ~/.bashrc but that did not seem to
work. To debug the problem, I modified $GEOSERVER_HOME/bin/startup.sh and
put the LD_LIBRARY_PATH in there. After this, GDAL extension was installed
successfully. Any suggestion of where to export the LD_LIBRARY_PATH is
greatly appreciated.

Regards,
Tam

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Could-not-install-GDAL-extension-on-GeoServer-binary-installation-tp5106502p5106664.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao Tam,
there should be no magic in using the zip installa especially on Linux.

Make sure the user for the process that runs geoserver sees the
GDAL_DATA and LD_LIBRARY_PATH correct vars and has access to where the
libs reside.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Fri, Feb 28, 2014 at 12:36 AM, tt5430 <tt9488@anonymised.com> wrote:

Hi,
ver
I followed the instructions from GeoServer-2.4.4 for installing GDAL
extension into my GDAL binary installation. After installing everything and
set the GDAL_DATA and LD_LIBRARY_PATH environment variables, I restarted
geoserver using:

sudo service geoserver restart and saw the following message on the console.

27 Feb 15:12:52 DEBUG [gdal.jp2k] - JP2KFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.erdasimg] - ErdasImgFormatFactory is not
availaible.
27 Feb 15:12:52 DEBUG [gdal.ehdr] - EsriHdrFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.jp2mrisd] - JP2MrSIDFormatFactory is not
availaible.
27 Feb 15:12:52 DEBUG [gdal.dted] - DTEDFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.jp2ecw] - JP2ECWFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.envihdr] - EnviHdrFormatFactory is not
availaible.
27 Feb 15:12:52 DEBUG [gdal.ecw] - ECWFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.nitf] - NITFFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gdal.mrsid] - MrSIDFormatFactory is not availaible.
27 Feb 15:12:52 DEBUG [gce.arcgrid] - ArcGridFormatFactory is availaible.
27 Feb 15:12:52 DEBUG [gdal.rpftoc] - RPFTOCFormatFactory is not availaible.

This problem only occurs on GeoServer binary version running with Jetty. I
installed GeoServer in tomcat using WAR file before and was able to install
GDAL extension without problem. We need to deploy GeoServer using the
binary version. Any help on this is greatly appreciated. Let me know if
you need more information.

Many thanks in advance.

Regards,
Tam

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Could-not-install-GDAL-extension-on-GeoServer-binary-installation-tp5106502.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ciao Tam,
what you did is fine as it allows you to isolate GeoServer config from
the config on the machine.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Fri, Feb 28, 2014 at 5:07 PM, tt5430 <tt9488@anonymised.com> wrote:

I found the problem and trying to figure out what is the best way to fix it.
I deploy GeoServer on Linux and start/stop Geoserver using to "sudo service
geoserver start/stop/restart" command. I downloaded GDAL native libraries,
placed it in a folder and set the LD_LIBRARY_PATH to point to the folder. I
put the LD_LIBRARY_PATH statement in ~/.bashrc but that did not seem to
work. To debug the problem, I modified $GEOSERVER_HOME/bin/startup.sh and
put the LD_LIBRARY_PATH in there. After this, GDAL extension was installed
successfully. Any suggestion of where to export the LD_LIBRARY_PATH is
greatly appreciated.

Regards,
Tam

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Could-not-install-GDAL-extension-on-GeoServer-binary-installation-tp5106502p5106664.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users