On 01/08/13 23:08, Cindy A McMullen wrote:
I'll check with our DB guys, but this is the list of jars they gave us. Oracle
has its own implementation of the Jena adapter; we'd like to benchmark it
against SDB using the same jars as they built with.
2.7.3 less than 2 months after 2.7.2 (bug fixes).
Odd benchmark though - SDB is deprecated!
Andy
On Aug 1, 2013, at 3:05 PM, Andy Seaborne wrote:
On 01/08/13 21:46, Cindy A McMullen wrote:
Using jena-sdb.1.3.5 gives a runtime exception:
Exception in thread "main" java.lang.NoSuchMethodError:
com.hp.hpl.jena.query.DatasetFactory.create(Lcom/hp/hpl/jena/sparql/core/DatasetGraph;)Lcom/hp/hpl/jena/query/Dataset;
[java] at
com.hp.hpl.jena.sdb.store.DatasetStore.create(DatasetStore.java:34)
Using sdb1.3.4 gives compile-time errors.
Using sdb1.3.6 gives:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jena/atlas/io/Printable
[java] at java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
[java] at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
[java] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] at com.hp.hpl.jena.sdb.StoreDesc.<init>(StoreDesc.java:76)
On Aug 1, 2013, at 10:31 AM, Cindy A McMullen wrote:
Which version if jena-sdb goes with these jars:
<include name="jena-core-2.7.2.jar"/>
<include name="jena-arq-2.9.2.jar"/>
<include name="jena-iri-0.9.2.jar"/>
Must it be these versions?
You can see the Apache Jena SDB versions and check their versions by looking in
the POM files:
http://central.maven.org/maven2/org/apache/jena/jena-sdb/
SDB 1.3.5 is
<ver.jena>2.7.3</ver.jena>
<ver.arq>2.9.3</ver.arq>
SDB 1.3.6 is
<ver.jena>2.10.1</ver.jena>
<ver.arq>${ver.jena}</ver.arq>
They are the only releases from Apache.
1.3.5 (Jena 2.7.3 is 3-Aug-2012) might work with 2.7.2 (28-Jun-2012) with only
a few tweaks but upgrading would be better.
Andy