Changes between Version 143 and Version 144 of FAQ


Ignore:
Timestamp:
Feb 21, 2020, 9:40:41 AM (4 years ago)
Author:
Bang Pham Huu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v143 v144  
    1919
    2020== Installation ==
     21
     22=== Using customized gdal-java with petascope ===
     23
     24By default, gdal-java JNI folder exists at `/usr/lib/jni` (Ubuntu) and
     25`/usr/lib/java/gdal` (Centos). If you use a customized gdal-java JNI folder (e.g: `/opt/lib/jni`), then you need to configure it manually.
     26* For system tomcat (e.g: tomcat 8), edit: `/etc/default/tomcat8` and set JNI path as below:
     27 {{{
     28
     29    JAVA_OPTS="-Djava.awt.headless=true -XX:+UseConcMarkSweepGC -Djava.library.path=/opt/lib/jni"
     30
     31 }}}
     32* For embedded Tomcat, you can set an environment variable for JNI library path before running petascope, e.g:
     33 {{{
     34     export LD_LIBRARY_PATH="/opt/lib/jni"
     35     java -jar rasdaman.war
     36
     37     Or add the JNI library path directly
     38     java -jar -Djava.library.path=/opt/lib/jni rasdaman.war
     39 }}}
    2140
    2241=== Cannot import data with rasdaman 9.8.x on Ubuntu 18.04 ===