openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum has been closed down
This forum has been closed down due to extensive spamming activities. Please use the mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 2
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 9786 times and has 1 reply Next Thread
Jul 22, 2009 6:20:03 AM

harshal
Regular


USA
Joined: Apr 9, 2009
Posts: 25
Status: Offline

Unbuffered entity enclosing request can not be repeated. ---error while acccesing store

Hello Guys,
I am trying to push some data into the RDF store using the java api. However when i run the code it starts and then gives the following error ---

org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated.
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:487)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.openrdf.http.client.HTTPClient.upload(HTTPClient.java:672)
at org.openrdf.http.client.HTTPClient.upload(HTTPClient.java:633)
at org.openrdf.repository.http.HTTPRepositoryConnection.addInputStreamOrReader(HTTPRepositoryConnection.java:258)
at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:242)
at org.knoesis.google.tool.BasicRDFExporter.main(BasicRDFExporter.java:111)

I would really apprecitae if anyone could help...
Thanks,
Harshal
Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Jul 27, 2009 3:27:08 PM

james
OpenRDF.org Consultant
Member's Avatar

Canada
Joined: Jul 21, 2005
Posts: 650
Status: Offline
Re: Unbuffered entity enclosing request can not be repeated. ---error while acccesing store

Looks like it might be a timeout issue, hung on the server side. It could be worked around by adjusting a httpclient parameter or changing the server to send a premature 202 Accepted response. Open an issue to report the problem and contact me for a estimate.
----------------------------------------
Sesame Consultant
http://leighnet.ca
http://jamesrdf.blogspot.com
Show Printable Version of Post        Hidden to Guest    http://leighnet.ca [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]