1 Reply Latest reply on Oct 14, 2010 7:29 PM by 715399

    OracleSemDS and Jena Adapter on Tomcat


      I am trying to run OracleQueryMgtServlet on Tomcat and for that purpose setting up a datasource resource as "OracleSemDS" - as required.
      I have followed this thread - Jena adapter and glassfish
      and I have verified that I can bind the data only if I refer to it as

      DataSource dataSource = (DataSource)context.lookup("java:comp/env/OracleSemDS");

      So I conclude that my version of sdordfclient.jar is trying to lookup as "OracleSemDS" and it does not contain Tomcat batch

      This is my error log:

      ERROR [http-80-1] (SimpleLog.java:152) - open: init data source
      javax.naming.NameNotFoundException: Name OracleSemDS is not bound in this Context
           at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
           at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
           at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
           at javax.naming.InitialContext.lookup(InitialContext.java:392)
           at oracle.spatial.rdf.client.jena.OracleQueryMgtServlet.init(OracleQueryMgtServlet.java:104)
           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)

      The interesting thing here is that I have got a new version of this library at 2010-09-27 (which fixed the query problem with scrambled fields - http://forums.oracle.com/forums/thread.jspa?messageID=4576897?),

      all classes inside it are dated 2009-11-24.
      But seems it is not fixing the datasource issue?

      Can I get the library that fixes both these isssues?


      Edited by: user8793616 on 2010-okt-14 08:08