HI,

 I was experiencing with http://localhost:3030/sparql.tpl for updating the
tuples and search queries.
The Update command is

PREFIX owl: <http://localhost:3030/ds2/search.owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
INSERT DATA
{
<http://localhost:3030/ds2/search.owl#name1>
owl:hasFirstname "Rex" ^^ xsd:string;
}


It is updating the tuples but when I look at the server log I saw lot of
warning messages.

java -Xmx1200M -jar fuseki-server.jar --update --loc=/TD /ds2


12:32:05 INFO  Server               :: TDB dataset: directory=/TD

12:32:05 INFO  Server               :: Dataset path = /ds2

12:32:05 INFO  Server               :: Fuseki 0.2.3-SNAPSHOT 20120614-0506

12:32:05 INFO  Server               :: Jetty 7.x.y-SNAPSHOT

12:32:05 INFO  Server               :: Started 2012/06/19 12:32:05 PDT on
port 3030



12:33:13 INFO  Fuseki               :: [1] POST
http://localhost:3030/ds2/update



12:33:13 WARN  SPARQL_Update$HttpActionUpdate :: Transaction still active
in end Writer - no commit or abort seen (forced abort)

12:33:13 WARN  SPARQL_Update$HttpActionUpdate :: 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.abortTransaction.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:120) at
org.apache.jena.fuseki.servlets.SPARQL_Update.execute(SPARQL_Update.java:239)

 at
org.apache.jena.fuseki.servlets.SPARQL_Update.executeForm(SPARQL_Update.java:226)
at
org.apache.jena.fuseki.servlets.SPARQL_Update.perform(SPARQL_Update.java:122)

 at
org.apache.jena.fuseki.servlets.SPARQL_ServletBase.doCommon(SPARQL_ServletBase.java:92)

 at
org.apache.jena.fuseki.servlets.SPARQL_Update.doPost(SPARQL_Update.java:78)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)

 at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)

 at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)

 at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)

 at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)

 at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)

 at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)

 at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

 at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

 at org.eclipse.jetty.server.Server.handle(Server.java:349)

 at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)

 at
org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)

 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)

 at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)

 at
org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50)

 
atorg.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:293)

 at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)

 at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)

 at java.lang.Thread.run(Unknown Source)

 12:33:13 INFO  Fuseki               :: [1] 200 OK



My doubt is after updating the tuples, why I was not able to see the
updated owl file rather I can see the updated results only through
http://localhost:3030/sparql.tpl with SPARQL query.

Even after restarting the window and again giving the search query


PREFIX owl:<http://localhost:3030/ds2/search.owl#>

SELECT *

WHERE

{

?Person owl:hasFirstname ?hasFirstname.

}


I am getting the results with the updated tuples.I am confusing where it
is actually storing. Still cannot able to figure out.Or we cannot see these
updated tuples physically?

Here is my server configuration java -Xmx1200M -jar fuseki-server.jar
--update --loc=/TD /ds2, but if I change  to (*--loc=./TD*) and give the
search query command it will display the tuples present

inside search.owl file excluded the tuples added using the browser.


Any solution for this.


Thanks

Reply via email to