Jena Adapter For Oracle Database (Joseki 3.4.4) Leaks Datasets (Doc ID 1545452.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Jena Adapter for Oracle Database (Joseki 3.4.4) leaks datasets

This problem seems to be related to the Joseki Service (version 3.4.4) which leaks a dataset each time it encounters an exception.

Run the following SPARQL Update statement:

PREFIX : <http://example/>
INSERT DATA {
GRAPH <http://example/g1> { :r :p 888 }

This statement lacks a curly brace at the end, and it will produce an exception:

2013-04-08 15:03:09,578 WARN [http-/0.0.0.0:8080-1] [org.joseki.http.Servlet:183] - Internal server error
com.hp.hpl.jena.query.QueryParseException: Encountered "" at line 3, column 39.
...

If you have configured 3 datasets in joseki-config.ttl an run this statement 3 times, all datasets will be gone, and the SPARL Endpoint will hang if you try to run the statement a fourth time.

Joseki is not Oracle software, but as it is a component that must be used together with the Jena Adapter for Oracle Database to implement a SPARQL Endpoint.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms