JAVAC
JAVAC

Reputation: 1270

Commons HttpClient - PutMethod Socket error -- Tomcat 7

Using apache commons httpClient PutMethod to upload a doc to sharepoint 2010 as it was a large it is taking time and after sometime i am throwing by an exception.

Socket Error: Connection Reset by peer : socket write error

as peer means share-point is closing socket or socket just failing to write where is the error, can fix for this issue from java side.

Update: After troubleshooting the class its working has standalone java class, but it is failing when it is running in Tomcat server. I think some configuration of tomcat server will fix this issue.

My understanding the tomcat server is a web server deals with http protocol and my java class is implementation of apache HttpClient 3.1 so this java class is works as individual class and failing in tomcat server means tomcat is overriding my httpclient params which is causing this issue

Upvotes: 1

Views: 755

Answers (1)

Krutik Jayswal
Krutik Jayswal

Reputation: 3175

You will find below link use full in your case.I resolved same issue by reading below details.

http://jce.iaik.tugraz.at/sic/Products/Communication-Messaging-Security/iSaSiLk/documentation/Secure-Renegotiation

Upvotes: 1

Related Questions