download and compile the latest version in the repo. it's fixed in 3.17.

Marco

On Sat, Oct 24, 2020 at 9:47 AM Johan Kumps <[email protected]> wrote:

> Hi all,
>
> I'm trying to follow the examples at
> https://jena.apache.org/documentation/geosparql/geosparql-fuseki
>
> When using an in memory dataset like this :
>
> java -jar jena-fuseki-geosparql-3.14.0.jar -rf "data.owl" -i -u
>
> querying works fine. But when adding the -t "TestDS" option :
>
> java -jar jena-fuseki-geosparql-3.14.0.jar -rf "data.owl" -i -u -t "TestDS"
>
> I keep getting :
>
> 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:81)
>         at
>
> org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:170)
>         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)
>
> I tried adding jts-1.13.jar to the classpath but without success:
>
> java -cp jena-fuseki-geosparql-3.14.0.jar;jts-1.13.jar
> org.apache.jena.fuseki.geosparql.Main -rf "data.owl" -i -u -t "TestDS"
>
> Could you help me with this.
>
> Thanks!
> Johan,
>


-- 


---
Marco Neumann
KONA

Reply via email to