Hi Guys,

Any thoughts on this?

Cheers
Jem


-----Original Message-----
From: Patrick van Kleef [mailto:vos.ad...@openlinksw.com]
Sent: Tue 17/02/2009 13:35
To: Jem Rayfield
Cc: Kingsley Idehen; virtuoso-users@lists.sourceforge.net
Subject: Re: [Virtuoso-users] HTTP proxy
 
Hi Jem,

> Following on from this I am having a similar problem trying to use the
> Jena Provider and HTTP connections via a proxy.
> This time I am explictly setting proxy params using JVM -D flags:
>
> VM params -> -Dhttp.proxyHost=www-cache.xxx.bbc.co.uk
> -Dhttp.proxyPort=80
>
> I receive errors as follows:
>
> Begin read from 'http://www.w3.org/People/Berners-Lee/card#i'   
> Exception
> in thread "main" virtuoso.jdbc3.VirtuosoException: HC001: Connection
> Error in HTTP Client
>       at virtuoso.jdbc3.VirtuosoResultSet.process_result(Unknown
> Source)
>       at virtuoso.jdbc3.VirtuosoResultSet.<init>(Unknown Source)
>       at virtuoso.jdbc3.VirtuosoStatement.sendQuery(Unknown Source)
>       at virtuoso.jdbc3.VirtuosoStatement.execute(Unknown Source)
>       at virtuoso.jena.driver.VirtGraph.read(Unknown Source)
>       at CreateAndQueryGraph.main(CreateAndQueryGraph.java:28)
> com.hp.hpl.jena.shared.JenaException: rethrew:
> virtuoso.jdbc3.VirtuosoException: HC001: Connection Error in HTTP  
> Client
>       at virtuoso.jena.driver.VirtGraph.read(Unknown Source)
>       at CreateAndQueryGraph.main(CreateAndQueryGraph.java:28)
> Caused by: virtuoso.jdbc3.VirtuosoException: HC001: Connection Error  
> in
> HTTP Client
>       at virtuoso.jdbc3.VirtuosoResultSet.process_result(Unknown
> Source)
>       at virtuoso.jdbc3.VirtuosoResultSet.<init>(Unknown Source)
>       at virtuoso.jdbc3.VirtuosoStatement.sendQuery(Unknown Source)
>       at virtuoso.jdbc3.VirtuosoStatement.execute(Unknown Source)
>       ... 2 more
>
> Is there another -D flag I should be using? Or as I expect is this  
> again
> related to proxy configuration for the Virtuoso server?
> I suspect functions such as http_client etc are being utilised under  
> the
> hood?
>
> FYI: The JAVA code used is below (example Jena code).
>
> It should be noted that my web browser works with the contained urls  
> and
> is configured to go via a proxy.
>
> This is beginning to slow down my evaluation as all http access must  
> go
> through this proxy.
> The same would be true in a test/prod environment.
>

I would expect this to be done in the virtuoso server.

I am currently discussing the various options with the Virtuoso  
development team.

Will let you know the moment i know more about this.


Patrick


Reply via email to