[
https://issues.apache.org/jira/browse/JENA-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396254#comment-13396254
]
Andy Seaborne commented on JENA-260:
------------------------------------
Alex - thanks for the report.
The transaction has commited - the exception is caused after the commit point.
The data is safe.
The message is from Fuseki consistency checking.
This needs fixing as soon as possible.
Fuseki is calling the clearup "end" at the wrong point. I have put in a
workaround fix in Fuseki and woud be grateful if you could confirm or deny it
works. I have just scheduled a complete development build so the snapshot
repos will be corrected in a few minutes.
TDB needs a changing as well to be more robust again this easy-to-do call
pattern. There will be a related set of circumstances in API code.
> TDB Transactional error logged by Fuseki server for all update operations
> -------------------------------------------------------------------------
>
> Key: JENA-260
> URL: https://issues.apache.org/jira/browse/JENA-260
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki, TDB
> Affects Versions: Fuseki 0.2.2
> Environment: Oracle JDK 1.6.0_22
> Reporter: Alex Hall
> Priority: Minor
>
> Running a Fuseki server backed by TDB with update enabled from the latest SVN
> version 1351419, any time I execute an update operation, I see the following
> error in the Fuseki console output:
> 13:59:59 WARN SPARQL_Upload$HttpActionUpload :: Transaction still active in
> endWriter - no commit or abort seen (forced abort)
> 13:59:59 WARN SPARQL_Upload$HttpActionUpload :: Exception in forced abort
> (trying to continue)
> com.hp.hpl.jena.tdb.transaction.TDBTransactionException: Transaction has
> already committed or aborted
> at
> com.hp.hpl.jena.tdb.transaction.Transaction.abort(Transaction.java:146)
> at
> com.hp.hpl.jena.tdb.transaction.DatasetGraphTxn.abort(DatasetGraphTxn.java:45)
> at
> com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction._abort(DatasetGraphTransaction.java:138)
> at
> com.hp.hpl.jena.tdb.migrate.DatasetGraphTrackActive.abort(DatasetGraphTrackActive.java:68)
> at
> org.apache.jena.fuseki.servlets.HttpAction.endWrite(HttpAction.java:119)
> at
> org.apache.jena.fuseki.servlets.SPARQL_Upload.perform(SPARQL_Upload.java:187)
> at
> org.apache.jena.fuseki.servlets.SPARQL_ServletBase.doCommon(SPARQL_ServletBase.java:92)
> at
> org.apache.jena.fuseki.servlets.SPARQL_Upload.doPost(SPARQL_Upload.java:71)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> ...
> In spite of this error message, the update apparently succeeds and is
> persisted to the database.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira