Hi,

Yes actually now it works with your suggestion I have added to setenv.sh:

export GEOSERVER_DATA_DIR=/var/lib/geoserver_data
export GDAL_DATA=/var/lib/geoserver_gdal/gdal-data
export LD_LIBRARY_PATH=/var/lib/geoserver_gdal/gdal-ubuntu
export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m
-XX:MaxPermSize=256m"

I had previously exported these path in the /etc/profile and for some times
this works. Don't know way it stopped, as far as I know this file should be
loaded at start up.

So regarding the suggestions for the web page that explains how to install
this extension I would add a note explaining where export the environment
variable and if it is really necessary to export GDAL_DATA (it seams working
even without it).
Moreover I had to set all the fils and folders (inside and outside
geoserver) owned by tomcat7, which is not written in the documentation.
Also I suggest to add a note to optionally increase the -Xmx value in our
case the default heap limit was not sufficient.

Thanks for the help.
Best Regards.
Alex


Daniele Romagnoli-3 wrote
> Hi Alex,
> are you setting this LD_LIBRARY_PATH on your tomcat startup?
> 
> Could you try adding this to your tomcat setenv.sh script?
> 
> export
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/var/lib/geoserver_gdal/gdal-ubuntu
> export JAVA_OPTS="-Djava.library.path=/var/lib/geoserver_gdal/gdal-ubuntu"
> 
> Cheers,
> Daniele
> 
> 
> ==
> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
> 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
> 
> -------------------------------------------------------
> 
> 
> On Wed, Apr 23, 2014 at 11:42 AM, Alex70 <

> mad4jsp@

> > wrote:
> 
>> Simone Giannecchini wrote
>> > Dear Alex,
>> > Daniele is on vacation this week, so I would not expect an answer.
>> >
>> > That said, I read  the report quickly and I don't have much more to
>> add.
>> > If you are sure the java gdalinfo works fine, make sure the
>> > LD_LIBRARY_PATH points correctly to the right gdal installation.
>> >
>> > You can also try a fresh install of the GeoServer Bin based on jetty.
>> >
>> > Regards,
>> > Simone Giannecchini
>> > ==
>> > Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
>> > 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 Wed, Apr 23, 2014 at 10:39 AM, Alex70 <
>>
>> > mad4jsp@
>>
>> > > wrote:
>> >> Good morning,
>> >>
>> >> any further suggestions about this tread?
>> >>
>> >> Regards
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://osgeo-org.1560.x6.nabble.com/GDAL-plugin-not-loading-Ubuntu-tp5135892p5136646.html
>> >> Sent from the GeoServer - User mailing list archive at Nabble.com.
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Start Your Social Network Today - Download eXo Platform
>> >> Build your Enterprise Intranet with eXo Platform Software
>> >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> >> Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> >> http://p.sf.net/sfu/ExoPlatform
>> >> _______________________________________________
>> >> Geoserver-users mailing list
>> >>
>>
>> > Geoserver-users@.sourceforge
>>
>> >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Start Your Social Network Today - Download eXo Platform
>> > Build your Enterprise Intranet with eXo Platform Software
>> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> > http://p.sf.net/sfu/ExoPlatform
>> > _______________________________________________
>> > Geoserver-users mailing list
>>
>> > Geoserver-users@.sourceforge
>>
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>> Ah ok no problem I'll wait next week.
>>
>> In the meantime here are the exported environment variables:
>>
>> root@host:~# echo $LD_LIBRARY_PATH
>> /var/lib/geoserver_gdal/gdal-ubuntu
>> root@host:~# echo $GDAL_DATA
>> /var/lib/geoserver_gdal/gdal-data
>>
>> Thanks,
>> Best Regards
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/GDAL-plugin-not-loading-Ubuntu-tp5135892p5136666.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Start Your Social Network Today - Download eXo Platform
>> Build your Enterprise Intranet with eXo Platform Software
>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> http://p.sf.net/sfu/ExoPlatform
>> _______________________________________________
>> Geoserver-users mailing list
>> 

> Geoserver-users@.sourceforge

>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> 
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
> unparalleled scalability from the best Selenium testing platform
> available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Geoserver-users mailing list

> Geoserver-users@.sourceforge

> https://lists.sourceforge.net/lists/listinfo/geoserver-users





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GDAL-plugin-not-loading-Ubuntu-tp5135892p5137570.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to