Hi there,

I am attempting to query a Virtuoso server using Jena.  For maximum
compatibility with the existing code base, I'd like to end up with a
com.hp.hpl.jena.rdf.model.Model implementation.

The code I've got looks like this:

        Model model = VirtModel.createDatabaseModel(
                "test_1",
                "jdbc:virtuoso://localhost:1111",
                "dba",
                "dba"
        );

This dies immediately with the following exception:

"virtuoso.jdbc3.VirtuosoException: Virtuoso Communications Link Failure
(timeout) : Connection to the server lost"

Inspection of the server logs reveals the following message:

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

Does anyone know how to fix this?  Is it a server configuration problem?
Something I'm missing in the code?  I'm running
virtuoso-opensource-5.0.8 on 64-bit Ubuntu, using the default
virtuoso.ini unmodified.

Please let me know if any more information would help, and thanks in
advance.  Cheers,

Luke


Reply via email to