Ignore:
Timestamp:
2023-02-04T18:40:01+13:00 (15 months ago)
Author:
davidb
Message:

Updated notes

Location:
gs2-extensions/apache-jena/trunk/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/README-FUSEKI2.txt

    r37134 r37273  
     1
     2***********
     3DEPRECATED!
     4***********
     5
     6Greenstone3 now works with Fuseki3 as a WAR file within its
     7tomcat/webapps area
     8
     9***********
     10
     11
    112
    213Installation of this extension follows the usual pattern:
  • gs2-extensions/apache-jena/trunk/src/README.txt

    r37133 r37273  
    77    ./CASCADE-MAKE.sh
    88
    9 Test out the triplestore server with:
    10 
    11   source ./setup.bash
    12   gs-triplestore-server3
    13 
    14 
    15 A successful run will produce output similar to the following:
    16 
    17     [2023-01-13 03:48:52] Server     INFO  Running in read-only mode for /greenstone
    18     [2023-01-13 03:48:52] Server     INFO  Apache Jena Fuseki 3.17.0
    19     [2023-01-13 03:48:53] Config     INFO  FUSEKI_HOME=/mnt/disks/atea-scratch-encrypted/davidb/research/code-managed/intermuse/greenstone3-svn/gs2build/ext/apache-jena/packages/apache-jena-fuseki-3.17.0
    20     [2023-01-13 03:48:53] Config     INFO  FUSEKI_BASE=/mnt/disks/atea-scratch-encrypted/davidb/research/code-managed/intermuse/greenstone3-svn/gs2build/ext/apache-jena/run
    21     [2023-01-13 03:48:53] Config     INFO  Shiro file: file:///mnt/disks/atea-scratch-encrypted/davidb/research/code-managed/intermuse/greenstone3-svn/gs2build/ext/apache-jena/run/shiro.ini
    22     [2023-01-13 03:48:53] Config     INFO  Template file: templates/config-tdb-dir
    23     [2023-01-13 03:48:54] Server     INFO  Database: TDB1 dataset: location=etc/tdb-triple-store3
    24     [2023-01-13 03:48:54] Server     INFO  Path = /greenstone
    25     [2023-01-13 03:48:54] Server     INFO  System
    26     [2023-01-13 03:48:54] Server     INFO    Memory: 4.0 GiB
    27     [2023-01-13 03:48:54] Server     INFO    Java:   11.0.16.1
    28     [2023-01-13 03:48:54] Server     INFO    OS:     Linux 5.11.0-1029-gcp amd64
    29     [2023-01-13 03:48:54] Server     INFO    PID:    1025186
    30     [2023-01-13 03:48:54] Server     INFO  Started 2023/01/13 03:48:54 UTC on port 4040
     9It installs the Fuseki3 WAR file as:
     10
     11  $GSDL3SRCHOME/packages/tomcat/webapps/fuseki3.war
     12 
     13Test out the triplestore server, in your top-level
     14Greenstone3 installation:
     15
     16  cd $GSDL3SRCHOME
     17  ant stop
     18
     19  /bin/cp ANT-STOP-CUSTOM.sh.in ANT-STOP-CUSTOM.sh
     20  /bin/cp ANT-START-CUSTOM.sh.in ANT-START-CUSTOM.sh
     21  /bin/cp ANT-RESTART-CUSTOM.sh.in ANT-RESTART-CUSTOM.sh
     22  /bin/cp ANT-LOGREST-RESTART-CUSTOM.sh.in ANT-LOGRESET-RESTART-CUSTOM.sh
     23   
     24Edit the custom start file to set FUSEKI_BASE:
     25
     26  emacs ANT-START-CUSTOM.sh
     27
     28and add before the 'ant start' line:
     29
     30    #
     31    # Operate Apache Fuseki Jena as a war file in tomcat/webaps area
     32    #
     33    export FUSEKI_BASE="$GEXT_JENA/run3"
     34    echo "Set FUSEKI_BASE:"
     35    echo "    $FUSEKI_BASE"
     36    echo ""
     37
     38
     39    ./ANT-LOGRESET-RESTART-CUSTOM.sh
     40
     41
     42In the Tomcat's catalina.out log file you should seen logged entires similar to:
     43
     44    [2023-02-04 03:01:49] Config     INFO  FUSEKI_HOME=/home/greenstone3-svn/gs2build/ext/apache-jena
     45    [2023-02-04 03:01:49] Config     INFO  FUSEKI_BASE=/home/greenstone3-svn/gs2build/ext/apache-jena/run3
     46    [2023-02-04 03:01:49] Config     INFO  Shiro file: file:///home/greenstone3-svn/gs2build/ext/apache-jena/run3/shiro.ini
     47    [2023-02-04 03:01:50] Config     INFO  Context path = /fuseki3
     48    [2023-02-04 03:01:50] Config     INFO  Configuration file: /home/greenstone3-svn/gs2build/ext/apache-jena/run3/config.ttl
     49    [2023-02-04 03:01:51] Server     INFO  Configuration file: /home/greenstone3-svn/gs2build/ext/apache-jena/run3/config.ttl
     50    [2023-02-04 03:01:51] Server     INFO  System
     51    [2023-02-04 03:01:51] Server     INFO    Memory: 800.0 MiB
     52    [2023-02-04 03:01:51] Server     INFO    Java:   11.0.16.1
     53    [2023-02-04 03:01:51] Server     INFO    OS:     Linux 4.19.0-20-cloud-amd64 amd64
     54    [2023-02-04 03:01:51] Server     INFO    PID:    24253
    3155
    3256
     
    3458build a collection.
    3559
    36 Note: if you want to stop the triplestore server, just press ^C,
    3760
    3861#----
    3962# Building collections with Linked Open Data
    4063#----
    41 
    42 Assuming you are running the gs-triplestore-server3 ...
    4364
    4465To include Linked Data triples of the documents metadata to a collection,
     
    5576the home page:
    5677
    57     http://localhost:4040/
     78    http://localhost:8383/fuseki3/
    5879
    5980and from there explore the interactive interface Fuseki provides to
Note: See TracChangeset for help on using the changeset viewer.