Dear Willem, I was tracing the whole request that receive the below exception I got the following :
The request is sent successfully and no response back comes from Axis WS , seems as you said Axis WS is closing the connection I believe due to heavy load I'm doing on the server . Another message is the timeout message I got as well . Thanks, Omar Atia -----Original Message----- From: Willem Jiang [mailto:[email protected]] Sent: Saturday, December 10, 2011 1:22 PM To: [email protected] Subject: Re: CXF Client or Server side issue :Unexpected end of file from server It looks the server is closed the connection before it send the response back. Can you check the Axis WS server configuration to let the server don't close the socket so quickly. On Sat Dec 10 04:36:02 2011, Omar Atia wrote: > Dears , > > I'm getting the following while sending a request using CXF client to Axis WS > when doing stress testing 10 Client which invokes CXF Clients and send > requests concurrently to WS . > > 22:28:36,673 4080313 ERROR [default-workqueue-9] > processor.DefaultErrorHandler - Failed delivery for exchangeId: > ID-tzdardb6-zain-co-tz-40077-1323454848026-0 > -86519. Exhausted after delivery attempt: 1 caught: java.net.SocketException: > Unexpected end of file from server > java.net.SocketException: Unexpected end of file from server > at > sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:777)[:1.6.0_29] > at > sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:640)[:1.6.0_29] > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)[:1.6.0_29] > at > java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)[:1.6.0_29] > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1541)[128:org.apache.cxf.bundle:2.4.3.fuse-0 > 0-06] > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1498)[128:org.apache.cxf.bundle:2.4.3.fuse-00-06] > at > org.apache.cxf.workqueue.AutomaticWorkQueueImpl$2.run(AutomaticWorkQueueImpl.java:353)[128:org.apache.cxf.bundle:2.4.3.fuse-00-06] > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_29] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_29] > at java.lang.Thread.run(Thread.java:662)[:1.6.0_29] > > Is the below from remote WS or from CXF Client which calls the WS ? Bundle > resides on ServiceMix ESB. > > Thanks, > Omar Atia > -- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang
