Hi
I'm using Apache CXF version 2.2.7 to POST a REST request to the server
using WebClient. I'm seeing following socket error on the client side when
the system (both client and server) is under load. Both client and server
using CXF version 2.4.2. I don't see any performance/response issue with
the server as the request fails with the following error within 50
millisecs.
Since CXF version 2.2.7 is quite old, does upgrading to Ver 2.4.2 and above
address help?
Unexpected end of file from server
at sun.reflect.GeneratedConstructorAccessor217.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:2058)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2043)
at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 141 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:774)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
Thanks
Chandru
--
View this message in context:
http://cxf.547215.n5.nabble.com/Unexpected-end-of-file-from-server-tp5726332.html
Sent from the cxf-user mailing list archive at Nabble.com.