Hi,

It seem that an error occurs when a proxy/server send a 403 HTTP status code in 
response to a SPARQL query.

Stack trace begins by :

org.apache.jena.atlas.web.HttpException: 403 - Forbidden
    at org.apache.jena.riot.web.HttpOp.exec(HttpOp.java:961)
    at org.apache.jena.riot.web.HttpOp.execHttpPostForm(HttpOp.java:711)
    at 
com.hp.hpl.jena.sparql.modify.UpdateProcessRemoteForm.execute(UpdateProcessRemoteForm.java:88)
    ...

The code call done before this error is :

[...]

                UpdateRequest update = UpdateFactory.create(query);
                UpdateProcessRemoteForm updateExecution = 
(UpdateProcessRemoteForm) UpdateExecutionFactory.createRemoteForm(update, 
update_endpoint_ip);
                updateExecution.setAuthentication(user_id, 
user_pwd.toCharArray());
                updateExecution.execute();
[...]
A possible fix may be the throw of a new ARQ exception in case of HTTPError 
reception.

VAÏSSE-LESTEVEN Arthur.

Reply via email to