Well I started Fuseki with the path of the config file, i.e.

./fuseki-server --config=/PATH/TO/CONFIG/FILE


Does this not work for you? For me it does using Fuseki 3.10.0

>
> Hi,
>
> there is still this error and it comes only when ANYTHING is placed on
> configuration folder:
>
> WebAppContext WARN  Failed startup of context
> o.e.j.w.WebAppContext@4159e81b{Apache Jena Fuseki
> Server,/,file:///home/text/tools/apache-jena-fuseki-3.9.0/webapp/,UNAVAILABLE}
>
> That folder is as in default install package, but maybe some setting
> is missing, referring to UNAVAILABLE?
> Entire log:
>
> Jan 22 16:01:21 semantic-dev systemd[1]: Started Apache Jena Fuseki.
> Jan 22 16:01:22 semantic-dev java[26606]: [2019-01-22 16:01:22]
> Server     INFO  Apache Jena Fuseki 3.9.0
> Jan 22 16:01:22 semantic-dev java[26606]: [2019-01-22 16:01:22]
> Config     INFO FUSEKI_HOME=/home/text/tools/apache-jena-fuseki-3.9.0
> Jan 22 16:01:22 semantic-dev java[26606]: [2019-01-22 16:01:22]
> Config     INFO FUSEKI_BASE=/home/text/tools/apache-jena-fuseki-3.9.0/run
> Jan 22 16:01:22 semantic-dev java[26606]: [2019-01-22 16:01:22]
> Config     INFO  Shiro file:
> file:///home/text/tools/apache-jena-fuseki-3.9.0/run/shiro.ini
> Jan 22 16:01:23 semantic-dev java[26606]: [2019-01-22 16:01:23]
> Config     INFO  Load configuration:
> file:///home/text/tools/apache-jena-fuseki-3.9.0/run/configuration/text_index.ttl
> Jan 22 16:01:23 semantic-dev java[26606]: [2019-01-22 16:01:23]
> WebAppContext WARN  Failed startup of context
> o.e.j.w.WebAppContext@4159e81b{Apache Jena Fuseki
> Server,/,file:///home/text/tools/apache-jena-fuseki-3.9.0/webapp/,UNAVAILABLE}
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.build.FusekiConfig.readAssemblerFile(FusekiConfig.java:148)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.build.FusekiConfig.readConfigurationDirectory(FusekiConfig.java:178)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.webapp.FusekiSystem.initializeDataAccessPoints(FusekiSystem.java:226)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.webapp.FusekiServerListener.serverInitialization(FusekiServerListener.java:98)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.webapp.FusekiServerListener.contextInitialized(FusekiServerListener.java:56)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.cmd.JettyFuseki.start(JettyFuseki.java:138)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.cmd.FusekiCmd.runFuseki(FusekiCmd.java:372)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:356)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:104)
> Jan 22 16:01:23 semantic-dev java[26606]:         at
> org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
> Jan 22 16:01:48 semantic-dev sudo[26629]:   mikael : TTY=pts/0 ;
> PWD=/home/text/tools/apache-jena-fuseki-3.9.0 ; USER=root ;
> COMMAND=/bin/journalctl
>
> On 21/01/2019 19:17, Lorenz B. wrote:
>> @prefix :<http://localhost/jena_example/#>  .
>> @prefix rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>  .
>> @prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#>  .
>> @prefix tdb:<http://jena.hpl.hp.com/2008/tdb#>  .
>> @prefix ja:<http://jena.hpl.hp.com/2005/11/Assembler#>  .
>> @prefix text:<http://jena.apache.org/text#>  .
>> @prefix skos:<http://www.w3.org/2004/02/skos/core#>
>> @prefix fuseki:<http://jena.apache.org/fuseki#>  .
>>
>> ## Example of a TDB dataset and text index
>> ## Initialize TDB
>> [] ja:loadClass "org.apache.jena.tdb.TDB" .
>> tdb:DatasetTDB  rdfs:subClassOf  ja:RDFDataset .
>> tdb:GraphTDB    rdfs:subClassOf  ja:Model .
>>
>> ## Initialize text query
>> [] ja:loadClass       "org.apache.jena.query.text.TextQuery" .
>> # A TextDataset is a regular dataset with a text index.
>> text:TextDataset      rdfs:subClassOf   ja:RDFDataset .
>> # Lucene index
>> text:TextIndexLucene  rdfs:subClassOf   text:TextIndex .
>>
>>
>> ## ---------------------------------------------------------------
>>
>>
>> :text_dataset rdf:type     text:TextDataset ;
>>      text:dataset   :my_dataset ;
>>      text:index     <#indexLucene> ;
>>      .
>>
>> # A TDB dataset used for RDF storage
>> :my_dataset rdf:type      tdb:DatasetTDB ;
>>      tdb:location "/tmp/tdb-dataset/" ;
>> #    tdb:unionDefaultGraph true ; # Optional
>>      .
>>
>> # Text index description
>> <#indexLucene> a text:TextIndexLucene ;
>>      text:directory<file:/tmp/tdb-lucene-index>  ;
>>      text:entityMap <#entMap> ;
>>      text:storeValues true ;
>>      text:analyzer [ a text:StandardAnalyzer ] ;
>>      text:queryAnalyzer [ a text:KeywordAnalyzer ] ;
>>      text:queryParser text:AnalyzingQueryParser ;
>>      text:multilingualSupport true ;
>>   .
>>
>> <#entMap> a text:EntityMap ;
>>      text:defaultField     "label" ;
>>      text:entityField      "uri" ;
>>      text:uidField         "uid" ;
>>      text:langField        "lang" ;
>>      text:graphField       "graph" ;
>>      text:map (
>>           [ text:field "label" ;
>>             text:predicate skos:prefLabel ]
>>           ) .
>>
>> <#service> rdf:type fuseki:Service ;
>>      fuseki:name                     "/ds" ;   # http://host:port/ds-ro
>>      fuseki:serviceQuery             "query" ;    # SPARQL query service
>>      fuseki:serviceReadGraphStore    "data" ;     # SPARQL Graph store
>> protocol (read only)
>>      fuseki:dataset           :text_dataset ;
>>      .
>
-- 
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center

Reply via email to