Hi Mirko,

Have you been able to successfully run the Sesame2 sample test program we provide as detailed at:

http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/ VirtSesame2Provider#%20Setup

If so can you provide a sample program we can run to test your issue in-house ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 26 Apr 2009, at 19:29, Mirko wrote:

Hi,
I get an "AbstractMethodError" exception when retrieving data from
Virtuoso using the Virtuoso Sesame2 driver in connection with
Sesame2.2.4 (and Elmo1.4). Here's some simple test code that throws
the exception:

Repository repository = new VirtuosoRepository("jdbc:virtuoso://
localhost:1111","dba","dba");
ElmoModule module = new ElmoModule();
SesameManagerFactory factory = new SesameManagerFactory(module,
repository);
SesameManager manager = factory.createElmoManager();

Iterable result = manager.findAll(MyConcept.class);
result.iterator(); //EXCEPTION HERE

Exception in thread "main" java.lang.AbstractMethodError:
virtuoso.sesame2.driver.VirtuosoRepositoryConnection
$1.setMaxQueryTime(I)V
        at
org
.openrdf
.repository
.contextaware
.ContextAwareConnection.initQuery(ContextAwareConnection.java:624)
        at
org
.openrdf
.repository
.contextaware
.ContextAwareConnection.prepareTupleQuery(ContextAwareConnection.java:
477)
        at
org
.openrdf
.elmo
.sesame.SesameTypeManager.evaluateTypeQuery(SesameTypeManager.java:39)
        at
org
.openrdf
.elmo
.sesame
.SesameResourceManager.createRoleQuery(SesameResourceManager.java:154)
        at org.openrdf.elmo.sesame.SesameManager
$1.iterator(SesameManager.java:538)

The above code works fine with other repositories (such as
NativeStore, MySQL, MemoryStore). Is this a bug in the Virtuoso Sesame
driver?

Thanks for any comments! Mirko



---------------------------------------------------------------------- --------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to