Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1969

Can't start geosparql fuseki server with -rf and -t

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.16.0
    • Jena 3.17.0
    • Fuseki, Spatial, TDB
    • None

    Description

      geosparql fuseki server can't be started with option combination -rf and -t as described in the jena fuseki geosparql user documentation (https://jena.apache.org/documentation/geosparql/geosparql-fuseki). Individually with either option -rf or -t fuseki geosparql starts fine and works as expected. Data can be loaded programmatically to tdb once created.

      java -jar jena-fuseki-geosparql-3.17.0-20200915.115805-17.jar -rf data.ttl -t "testDB2"
      WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
      [2020-09-25 20:22:39] Main       INFO  Arguments Received: [-rf, data.ttl, -t, testDB2]
      [2020-09-25 20:22:39] DatasetOperations INFO  Server Configuration: port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, tdbFile=testDB2, fileGraphFormats=[FileGraphFormat{rdfFile=data.ttl, graphName=, rdfFormat=Turtle/pretty}], fileGraphDelimiters=[], indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], spatialIndexFile=null, help=false
      [2020-09-25 20:22:39] DatasetOperations INFO  TDB Dataset: testDB2
      [2020-09-25 20:22:41] DatasetOperations INFO  Reading RDF - Started - File: data.ttl, Graph Name: , RDF Format: Turtle/pretty
      [2020-09-25 20:22:41] DatasetOperations INFO  Reading RDF - Completed - File: data.ttl, Graph Name: , RDF Format: Turtle/pretty
      Exception in thread "main" org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction
      	at org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138)
      	at org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49)
      	at org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103)
      	at org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:192)
      	at org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247)
      	at org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95)
      	at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64)
      

      Attachments

        Activity

          People

            GregAlbiston Greg Albiston
            neumarcx Marco Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: