On Mon, Apr 28, 2014 at 5:53 PM, Alex70 <[email protected]> wrote:

> Hi,
>
> Yes actually now it works

Good news :)


> 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


Some people uses tomcat, some other uses different containers, some other
uses services and so on, so we didn't added tomcat specific instructions.
I will add a tomcat subsection since Tomcat is commonly used.

and if it is really necessary to export GDAL_DATA (it seams working
> even without it).
>

The GDAL_DATA contains Coordinate Referencing System definitions which are
used by some GDAL drivers (as ECW and some others). Depending on which
format you are using, they will be used or not.


> Moreover I had to set all the fils and folders (inside and outside
> geoserver) owned by tomcat7, which is not written in the documentation.
>

This is a user permissions topic. In case the Tomcat where GeoServer is
deployed is executed by a "tomcat" user and your data/config are into
folders with reduced permission settings (as an instance, "tomcat" is into
a different group, or no write access are allowed for group, other users)
is it possible that permission issues occur when the config files are
updated or mosaic are created since the user running GeoServer needs the
permissions to write them (note that this isn't a GDAL plugin specific
topic but a general one)

Also I suggest to add a note to optionally increase the -Xmx value in our
> case the default heap limit was not sufficient.
>

There is another page in documentation for that:
http://docs.geoserver.org/latest/en/user/production/container.html#optimize-your-jvm


>
> Thanks for the help.
>

No problem. Thanks for your feedbacks.
Best Regards,
Daniele

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 &lt;
>
> > mad4jsp@
>
> > &gt; 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 &lt;
> >>
> >> > mad4jsp@
> >>
> >> > &gt; 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
> >> >>
> >>
> >> > [email protected]
> >>
> >> >> 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
> >>
> >> > [email protected]
> >>
> >> > 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
> >>
>
> > [email protected]
>
> >> 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
>
> > [email protected]
>
> > 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to