Hi Sarala,

A later 6.1.3 release candidate build can be downloaded from:

        
ftp://download.openlinksw.com/support/vos/virtuoso-opensource-6-20110105.tar.gz

Can you please download, recompile and test the query again to see if the 
problem still occurs ...

Note a Windows 64bit equivalent build is also available from:

        
ftp://download.openlinksw.com/support/vos/virtuoso-opensource-win64-20101220.zip

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

On 9 Feb 2011, at 11:29, Sarala Wimalaratne wrote:

> Hi,
> 
> I have the virtuoso windows version (virtuoso-opensource-win64-6.1.2.zip 
> - 2010-07-09) installed in my local machine and the linux version 
> (virtuoso-opensource-6.1.2.tar.gz - 2010-07-09) installed in a remote 
> server. Everything works fine on the local windows version (using the 
> web interface and jena). However, some queries does not work on the 
> virtuoso which is in the remote linux server when using Jena. Again 
> everything works fine if I use the virtuoso web interface. Here is one 
> of the queries that doesn't work. It throws an error and the server 
> crashes.
> 
> private void select(){
>         String query = "define input:inference \"ricordo_rule\" " +
>                 "PREFIX rcmd: <http://www.ebi.ac.uk/ricordo/model#> " +
>                 "SELECT DISTINCT ?m COUNT (?s) FROM 
> <http://ricordotest.com> WHERE { ?s rcmd:elementOf ?m . ?s ?p 
> <urn:miriam:obo.fma:FMA%3A9557> } GROUP BY ?m";
> 
>         VirtuosoQueryExecution vqe = 
> VirtuosoQueryExecutionFactory.create (query, graph);
> 
>         ResultSet results = vqe.execSelect();
> 
>         while (results.hasNext()) {
>             QuerySolution rs = results.nextSolution();
>             RDFNode s = rs.get("m");
>             RDFNode p = rs.get("?callret-1");
>             System.out.println(" { " + s + " " + p.asLiteral().getInt() 
> + " }");
>         }
> }
> 
> Exception in thread "main" com.hp.hpl.jena.shared.JenaException: Can not 
> create ResultSet.:virtuoso.jdbc3.VirtuosoException: Virtuoso 
> Communications Link Failure (timeout) : Connection to the server lost
>     at virtuoso.jena.driver.VirtuosoQueryExecution.execSelect(Unknown 
> Source)
> 
> It would be great if you could please let me know how I could resolve 
> this issue.
> 
> Many thanks in advance
> Sarala
> 
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Virtuoso-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-devel


Reply via email to