Hi Marco,

You probably need to add an ACL to allow the Restlet java library to access the Virtuoso Server, as detailed at:

        http://docs.openlinksw.com/virtuoso/wsacl.html#wsacldefrem

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 15 Apr 2009, at 21:44, Marco Ocana wrote:

Hi,

I am trying to call the SPARQL end point using Restlet java libraries. However, when I do so, I get in the response an http status code of 500 (Internal Server Error) and some HTML:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <title>Error 42000</title>
  </head>
  <body>
    <h3>Error 42000</h3><pre>
HT059: Proxy access to 192.168.1.2:8890 denied due to access control
  </pre></body>
</html>

I actually get this error whenever I access any URL managed by the Virtuoso web server, not just the /sparql/?query..... URLs. On the other hand, I have no problem getting to the server from any web browser. Clearly, my Restlet based client is missing something that the Virtuoso web server is looking for. What causes the Virtuoso Server to issue this error and what does my client need to do to get past it?

Thanks

Marco




---------------------------------------------------------------------- --------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/ p_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to