Hi, Ben mails give good suggestions, I will first try to install spatialite libs and only bother with the Java version after (I doubt the Java version will have any impact).
On 07/13/2017 07:12 PM, nino formica wrote:
Hi Nuno, Really I'm not very practical about java (I have basic knowledge), but I guess my java installation (JRE) on Ubuntu 16.04 isn't good or it is not well configured ! So I want to try again. I'm looking for and I found this guide: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 what do you think about ? .. or have you other tips ? best regards Nino 2017-07-12 19:59 GMT+02:00 Nuno Oliveira <[email protected] <mailto:[email protected]>>: I just give it a try with last GeoServer trunk and is working: I have two possible differences from your setup, I'm using Oracle JDK 8 and I have spatialite Ubuntu packages installed (this should not make any difference): ii libspatialite-dev:amd64 4.3.0a-5 amd64 Geospatial extension for SQLite - development files ii libspatialite7:amd64 4.3.0a-5 amd64 Geospatial extension for SQLite - libraries ii python-pyspatialite 3.0.1-10 amd64 Python interface to Spatialite ii spatialite-bin 4.3.0-2 amd64 Geospatial extension for SQLite - tools ii spatialite-gui 2.0.0~devel2-2 amd64 user-friendly graphical user interface for SpatiaLite If you are curious the code that checks if the JDBC driver and natives libraries are available: https://github.com/nmco/geotools/blob/7d4dcbfba9b67ab6aae0b5b65f5366334249147b/modules/library/jdbc/src/main/java/org/geotools/jdbc/JDBCDataStoreFactory.java#L402-L410 <https://github.com/nmco/geotools/blob/7d4dcbfba9b67ab6aae0b5b65f5366334249147b/modules/library/jdbc/src/main/java/org/geotools/jdbc/JDBCDataStoreFactory.java#L402-L410> https://github.com/nmco/geotools/blob/bd04ccd3f3b7f633f596f3ff93464a8d4a13853c/modules/plugin/jdbc/jdbc-spatialite/src/main/java/org/geotools/data/spatialite/SpatiaLiteDataStoreFactory.java#L74-L80 <https://github.com/nmco/geotools/blob/bd04ccd3f3b7f633f596f3ff93464a8d4a13853c/modules/plugin/jdbc/jdbc-spatialite/src/main/java/org/geotools/data/spatialite/SpatiaLiteDataStoreFactory.java#L74-L80> Hope this helps. On 07/12/2017 02:40 PM, nino formica wrote:Yes, I already did . but It does'nt change anything! I guess that the indications: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib java -Djava.library.path=/usr/local/lib are incorrect or ambiguous ! Nino Il 12 lug 2017 9:47 AM, "Nuno Oliveira" <[email protected] <mailto:[email protected]>> ha scritto: I remember vaguely that you may need to define this variable too on Linux: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib On 07/10/2017 07:27 PM, nformica wrote: geowolf wrote Brad is giving you good questions, please share the logs, from the description it seems that GeoServer is not finding the native library it's looking for. This is my system configuration: - Ubuntu 16.04 - Tomcat 8 - Java 8 openjdk - Geoserver 2.10.3 I have downloaded native library from: http://docs.geotools.org/latest/userguide/library/jdbc/spatialite.html#native-libraries <http://docs.geotools.org/latest/userguide/library/jdbc/spatialite.html#native-libraries> precisely the linux 64 bit version: http://ares.boundlessgeo.com/geotools/spatialite-libs-linux-x86_64.zip <http://ares.boundlessgeo.com/geotools/spatialite-libs-linux-x86_64.zip> Then I have extracted lib (in zip file) in a folder named "spatialite-libs" and I put it in /usr/local/lib/ folder. I restart Tomcat 8 and run Geoserver; this is the log file: https://drive.google.com/open?id=0B5Doub2YiDSednFrUGVoVm9Cc1E <https://drive.google.com/open?id=0B5Doub2YiDSednFrUGVoVm9Cc1E> ... thanks! Nino -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-GeoServer-2-8-SpatiaLite-extension-tp5253443p5327285.html <http://osgeo-org.1560.x6.nabble.com/Problem-with-GeoServer-2-8-SpatiaLite-extension-tp5253443p5327285.html> Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html> [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>-- Regards,Nuno Oliveira == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Nuno Miguel Carvalho Oliveira @nmcoliveira Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 <tel:%2B39%200584%20962313> fax: +39 0584 1660272 <tel:%2B39%200584%201660272> http://www.geo-solutions.it http://twitter.com/geosolutions_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. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html> [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>-- Regards,Nuno Oliveira == GeoServer Professional Services from the experts! Visithttp://goo.gl/it488V for more information. == Nuno Miguel Carvalho Oliveira @nmcoliveira Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone:+39 0584 962313 <tel:+39%200584%20962313> fax:+39 0584 1660272 <tel:+39%200584%20166%200272> http://www.geo-solutions.it http://twitter.com/geosolutions_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.
-- Regards, Nuno Oliveira == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Nuno Miguel Carvalho Oliveira @nmcoliveira 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 ------------------------------------------------------- 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.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
