4 Replies Latest reply on Mar 8, 2011 6:14 AM by 844414

    Oracle SPARQL Service Endpoint using Joseki  Not working

    844414
      Hello,

      I installed an Oracle SPARQL Service Endpoint using Joseki, but when i submit the query ... It throws exception. Here is the complete trace of exception.

      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Servlet.java:67) - -------- Joseki
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:81) - ==== Configuration ====
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:162) - Loading : <joseki-config.ttl>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (ServiceInitSimple.java:25) - Init: Example initializer
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:100) - ==== Datasets ====
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:608) - New dataset: <file:///F:/Oracle11g/wls1034_dev
      /joseki-config.ttl#oracle>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:102) - ==== Services ====
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:380) - Service reference: "oracle"
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:388) - Class name: org.joseki.processors.SPARQL
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:58) - SPARQL processor
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:93) - Locking policy: multiple reader, single writer
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:114) - Dataset description: false // Web loading: false
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:486) - Dataset: <file:///F:/Oracle11g/wls1034_dev/jos
      eki-config.ttl#oracle>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:380) - Service reference: "sparql"
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:388) - Class name: org.joseki.processors.SPARQL
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:58) - SPARQL processor
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:103) - Locking policy: none
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:114) - Dataset description: true // Web loading: true
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:104) - ==== Bind services to the server ====
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:519) - Service: <oracle>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:519) - Service: <sparql>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:106) - ==== Initialize datasets ====
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SimpleLog.java:63) - startMonitor: starts
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (DatasetDesc.java:57) - Pool size 1 for dataset <file:///F:/Oracle11g/wls
      1034_dev/joseki-config.ttl#oracle>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Configuration.java:120) - ==== End Configuration ====
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Dispatcher.java:133) - Loaded data source configuration: joseki-config.t
      tl
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (Servlet.java:164) - [127.0.0.1] Service URI = <oracle>
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:229) - Query: PREFIX dc: <http://purl.org/dc/elements/1.1
      /> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <
      http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XM
      LSchema#> PREFIX owl: <http://www.w3.org/2000/07/owl#> PREFIX fn: <http:/
      /www.w3.org/2005/xpath-functions#> PREFIX ouext: <http://oracle.com/semtech/jen
      a-adaptor/ext/user-def-function#> PREFIX oext: <http://oracle.com/semtech/jena
      -adaptor/ext/function#> PREFIX ORACLE_SEM_FS_NS: <http://oracle.com/semtech#tim
      eout=100,qid=123> SELECT ?title WHERE {    <http://example.org/book/book1> <h
      ttp://purl.org/dc/elements/1.1/title> ?title . }
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (SPARQL.java:165) - Throwable: optimization
      java.lang.NoSuchFieldError: optimization
      at oracle.spatial.rdf.client.jena.QueryEngineSem.modifyOp(QueryEngineSem
      .java:168)
      at com.hp.hpl.jena.sparql.engine.QueryEngineBase.createPlan(QueryEngineB
      ase.java:95)
      at com.hp.hpl.jena.sparql.engine.QueryEngineBase.getPlan(QueryEngineBase
      .java:89)
      at oracle.spatial.rdf.client.jena.QueryEngineSem$1.create(QueryEngineSem
      .java:202)
      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecuti
      onBase.java:266)
      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(Q
      ueryExecutionBase.java:243)
      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryE
      xecutionBase.java:248)
      at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExec
      utionBase.java:94)
      at org.joseki.processors.SPARQL.executeQuery(SPARQL.java:304)
      at org.joseki.processors.SPARQL.execQueryWorker(SPARQL.java:288)
      at org.joseki.processors.SPARQL.execQueryProtected(SPARQL.java:126)
      at org.joseki.processors.SPARQL.execOperation(SPARQL.java:120)
      at org.joseki.processors.ProcessorBase.exec(ProcessorBase.java:112)
      at org.joseki.ServiceRequest.exec(ServiceRequest.java:36)
      at org.joseki.Dispatcher.dispatch(Dispatcher.java:59)
      at org.joseki.http.Servlet.doCommon(Servlet.java:177)
      at org.joseki.http.Servlet.doGet(Servlet.java:138)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
      (StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
      tyHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
      a:300)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
      a:183)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
      n.wrapRun(WebAppServletContext.java:3717)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
      n.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
      dSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
      120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
      ervletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
      ontext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
      ava:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
      INFO [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
      ing)'] (ResponseHttp.java:382) - Error: URI = oracle : optimization


      Help please.

      Thank you,
      Siddu

      Edited by: 841411 on Mar 3, 2011 9:11 PM

      Edited by: 841411 on Mar 4, 2011 2:53 AM