Sushil,
we need more info. Please post the chunk of code where you set the
options. The configuration file (axis2.xml) would be useful too.
Michele
p.s. I think your request should have been sent to axis-user, not
axis-dev.
On 8 May 2008, at 22:52, Sushil Dodake wrote:
Hi all,
I am calling a service from a client application.
my webservice is on some other server which i am calling through a
load balancer.
i get following error and the occurance of this is quite unprdictable.
The connection is reset and the strange part is it is not thrown as
an exception @ client which falsely trigger other actions on my
client after the service call.
can somebody help me to understand this behavior and any solution
for this.
2008-05-08 16:15:40,675 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.methods.EntityEnclosingMethod -
Request body sent
2008-05-08 16:20:42,997 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.HttpMethodDirector - Closing the
connection.
2008-05-08 16:20:43,028 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.HttpMethodDirector - Method retry
handler returned false. Automatic recovery will not be attempted
2008-05-08 16:20:43,028 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.HttpConnection - Releasing
connection back to connection manager.
2008-05-08 16:20:43,044 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager -
Freeing connection, hostConfig=HostConfiguration[host=http://qa-
webservices.XX.com]
2008-05-08 16:20:43,075 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.util.IdleConnectionHandler - Adding
connection at: 1210281643075
2008-05-08 16:20:43,091 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager -
Notifying no-one, there are no waiting threads
2008-05-08 16:20:43,106 [DefaultQuartzScheduler_Worker-9] INFO
org.apache.axis2.transport.http.HTTPSender - Unable to sendViaPost
to url[http://qa-webservices.XX.com/axis2/services/RebateService_v1_0]
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.commons.httpclient.HttpParser.readRawLine
(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine
(HttpParser.java:105)
at org.apache.commons.httpclient.HttpConnection.readLine
(HttpConnection.java:1115)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
$HttpConnectionAdapter.readLine
(MultiThreadedHttpConnectionManager.java:1373)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine
(HttpMethodBase.java:1832)
at org.apache.commons.httpclient.HttpMethodBase.readResponse
(HttpMethodBase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execute
(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry
(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod
(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod
(AbstractHTTPSender.java:520)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost
(HTTPSender.java:191)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:
77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessag
eWithCommons(CommonsHTTPTransportSender.java:327)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke
(CommonsHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at org.apache.axis2.description.OutInAxisOperationClient.send
(OutInAxisOperation.java:374)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl
(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute
(OperationClient.java:163)
at org.apache.axis2.client.ServiceClient.sendReceive
(ServiceClient.java:528)
at org.apache.axis2.client.ServiceClient.sendReceive
(ServiceClient.java:508)
at
com.XX.rebateautomation.service.RebateServiceImpl.generateRebates
(RebateServiceImpl.java:83)
at
com.XX.rebateautomation.RebateAutomationControllerImpl.generateRebates
(RebateAutomationControllerImpl.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.util.MethodInvoker.invoke
(MethodInvoker.java:283)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBe
an$MethodInvokingJob.executeInternal
(MethodInvokingJobDetailFactoryBean.java:272)
at org.springframework.scheduling.quartz.QuartzJobBean.execute
(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run
(SimpleThreadPool.java:520)
2008-05-08 16:20:43,278 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.transport.http.CommonsHTTPTransportSender -
org.apache.axis2.AxisFault: Connection reset
2008-05-08 16:20:43,309 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.transport.http.CommonsHTTPTransportSender -
org.apache.axis2.AxisFault: Connection reset
2008-05-08 16:20:43,325 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:
34E9FDB83CE312FF621210281033687] Invoking flowComplete() in Phase
"Security"
2008-05-08 16:20:43,325 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:
34E9FDB83CE312FF621210281033687] Invoking flowComplete() in Phase
"MessageOut"
2008-05-08 16:20:43,325 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:
34E9FDB83CE312FF621210281033687] Invoking flowComplete() in Phase
"PolicyDetermination"
2008-05-08 16:20:43,325 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:
34E9FDB83CE312FF621210281033687] Invoking flowComplete() in Phase
"RMPhase"
2008-05-08 16:20:43,325 [DefaultQuartzScheduler_Worker-9] DEBUG
org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:
34E9FDB83CE312FF621210281033687] Invoking flowComplete() in Phase
"OperationOutPhase"
2008-05-08 16:20:43,372 [DefaultQuartzScheduler_Worker-9] DEBUG
com.XX.rebateautomation.service.RebateServiceImpl - Sending
request to rebate service to generate rebates for invoices.
regards,
Sushil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]