I'm trying to run the Jena Provider
samples<http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtJenaProvider>and
I'm getting an error.  Any help figuring out why this is failing is
appreciated:

Exception in thread "main" com.hp.hpl.jena.shared.JenaException: Convert
results are FAILED.:virtuoso.jdbc3.VirtuosoException: Virtuoso
Communications Link Failure (timeout) : Connection to the server lost
    at virtuoso.jena.driver.VirtuosoQueryExecution.execSelect(Unknown
Source)
    at VirtuosoSPARQLExample1.main(VirtuosoSPARQLExample1.java:51)

The server logs say:
"Malformed data received from IP [127.0.0.1]: Box length too large.
Disconnecting the client"

Here is what appears to be configured properly:
* Running 5.0.10 virtuoso-javavm-t
* Including the classpath of all the jars included in the jenajars package
* VirtuosoSPAQRLExampleX.java samples compiled properly
* I can make a connection directly to iSQL: "sql 1111 dba dba"
* The sample uses the default connection string:
"jdbc:virtuoso://localhost:1111"
* I am able to successfully connect with the JDBC sample app:
{virtuoso-source}/binsrc/samples/JDBC/jdk1.3/JDBCDemo

Example:
java -cp
"../jar/iri.jar:../jar/icu4j_3_4.jar:../jar/virtjdbc3.jar:../jar/axis.jar:../jar/xercesImpl.jar:../jar/jena.jar:../jar/arq.jar:../jar/commons-logging.jar:../jar/virt_jena.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/lib:."
VirtuosoSPARQLExample1

Reply via email to