axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramaswamy, Pudur" <>
Subject UnSubscribe
Date Wed, 10 Mar 2010 23:44:29 GMT

From: Gauba, Naveen []
Sent: Wednesday, March 10, 2010 3:34 PM
Subject: Connection to Axis Web Service gets stale when the Web Service App is bounced.

Hi Guys

My spring application is using an external Axis Web Service. I initialize the Service Stub
during my application startup and keep a connection for that.

When the external Axis Web Service was bounced I started getting "Read timed out" error when
my app tried to talk to the web service.

00000027 HTTPSender    I org.apache.axis2.transport.http.HTTPSender sendViaPost Unable to
sendViaPost to url[ http://servername:9080/abcd-content-soap/MyService<%20http:/servername:9080/abcd-content-soap/MyService>]
                        Read timed out
        at Method)

How do I fix this issue? I understand that I can build a polling mechanism inside my app which
can ping the service frequently and then re-initialize the service in case of 'Read Time Out'
exceptions. Is there a different option? Could I configure something on the axis configurations
that takes care of this issue?


Naveen Gauba

View raw message