You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Wesley Mesquita <we...@gmail.com> on 2008/02/18 14:02:07 UTC
AxisFault: Read Time Out
Hi all,
I trying to use the axis2 api to generate clients to my webservices, but I
am getting in trouble. I got rid of my examples to minimize the
possibilities to make mistakes.
So I trying the examples in this site
http://today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html,
and i am getting this Exception tree:
Exception in thread "main" org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
HTTPSender.java:195)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons
(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 sample.axisversion.Scenario1Client.main(Scenario1Client.java:22)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
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)
... 10 more
I tested the service in a browser and it appears to be working fine.
I tried to execute the service in Tomcat 5.5 and using directly axis2server
(Axis2 1.3). Anyone has any ideia, what is happening here?
Thanks in advance,
Wesley.
--
Wesley Mesquita
LIS/IC - UNICAMP
[skype: wesley.mesquita]
Re: AxisFault: Read Time Out
Posted by Wesley Mesquita <we...@gmail.com>.
About 10 seconds.
On Feb 18, 2008 2:55 PM, Michele Mazzucco <Mi...@ncl.ac.uk>
wrote:
> How long do your requests take (on average) to execute?, I think (but
> maybe I'm wrong) that those timeout are set to 30 seconds by default.
>
> Michele
>
> On 18 Feb 2008, at 17:27, Wesley Mesquita wrote:
>
> > I got the same, i tried huge values and nothing has worked.
> > It seems to me that there is something wrong in the axis2
> > installation (or in the services deployment), but I don´t know
> > where to looking for since the services appear to be working fine
> > when I invoke them at a browser.
> >
> > Thanks for trying to help.
> >
> > On Feb 18, 2008 2:13 PM, Michele Mazzucco
> > <Mi...@ncl.ac.uk> wrote:
> > Try options.setTimeoutInMilliseconds() then.
> >
> > Michele
> >
> > On 18 Feb 2008, at 16:50, Wesley Mesquita wrote:
> >
> > > What this function suppose to do? I tried it, but I am getting the
> > > same Exception tree.
> > >
> > > On Feb 18, 2008 10:17 AM, Michele Mazzucco
> > > <Mi...@ncl.ac.uk> wrote:
> > > Wesley,
> > >
> > > try to call options.setProperty(HTTPConstants.SO_TIMEOUT, value);
> > >
> > > Michele
> > >
> > > On 18 Feb 2008, at 13:02, Wesley Mesquita wrote:
> > >
> > > > Hi all,
> > > >
> > > > I trying to use the axis2 api to generate clients to my
> > > > webservices, but I am getting in trouble. I got rid of my examples
> > > > to minimize the possibilities to make mistakes.
> > > > So I trying the examples in this site http://today.java.net/pub/a/
> > > > today/2006/12/13/invoking-web-services-using-apache-axis2.html ,
> > > > and i am getting this Exception tree:
> > > >
> > > > Exception in thread "main" org.apache.axis2.AxisFault: Read timed
> > > out
> > > > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> > > > at org.apache.axis2.transport.http.HTTPSender.sendViaPost
> > > > (HTTPSender.java:195)
> > > > 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 sample.axisversion.Scenario1Client.main
> > (Scenario1Client.java:
> > > > 22)
> > > > Caused by: java.net.SocketTimeoutException: Read timed out
> > > > at java.net.SocketInputStream.socketRead0(Native Method)
> > > > at java.net.SocketInputStream.read(Unknown Source)
> > > > at java.io.BufferedInputStream.fill(Unknown Source)
> > > > at java.io.BufferedInputStream.read(Unknown Source)
> > > > 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)
> > > > ... 10 more
> > > >
> > > > I tested the service in a browser and it appears to be working
> > fine.
> > > > I tried to execute the service in Tomcat 5.5 and using directly
> > > > axis2server (Axis2 1.3). Anyone has any ideia, what is happening
> > > here?
> > > >
> > > > Thanks in advance,
> > > >
> > > > Wesley.
> > > >
> > > > --
> > > > Wesley Mesquita
> > > > LIS/IC - UNICAMP
> > > > [skype: wesley.mesquita]
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> > >
> > >
> > > --
> > > Wesley Mesquita
> > > LIS/IC - UNICAMP
> > > [skype: wesley.mesquita]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> > --
> > Wesley Mesquita
> > LIS/IC - UNICAMP
> > [skype: wesley.mesquita]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Wesley Mesquita
LIS/IC - UNICAMP
[skype: wesley.mesquita]
Re: AxisFault: Read Time Out
Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
How long do your requests take (on average) to execute?, I think (but
maybe I'm wrong) that those timeout are set to 30 seconds by default.
Michele
On 18 Feb 2008, at 17:27, Wesley Mesquita wrote:
> I got the same, i tried huge values and nothing has worked.
> It seems to me that there is something wrong in the axis2
> installation (or in the services deployment), but I don´t know
> where to looking for since the services appear to be working fine
> when I invoke them at a browser.
>
> Thanks for trying to help.
>
> On Feb 18, 2008 2:13 PM, Michele Mazzucco
> <Mi...@ncl.ac.uk> wrote:
> Try options.setTimeoutInMilliseconds() then.
>
> Michele
>
> On 18 Feb 2008, at 16:50, Wesley Mesquita wrote:
>
> > What this function suppose to do? I tried it, but I am getting the
> > same Exception tree.
> >
> > On Feb 18, 2008 10:17 AM, Michele Mazzucco
> > <Mi...@ncl.ac.uk> wrote:
> > Wesley,
> >
> > try to call options.setProperty(HTTPConstants.SO_TIMEOUT, value);
> >
> > Michele
> >
> > On 18 Feb 2008, at 13:02, Wesley Mesquita wrote:
> >
> > > Hi all,
> > >
> > > I trying to use the axis2 api to generate clients to my
> > > webservices, but I am getting in trouble. I got rid of my examples
> > > to minimize the possibilities to make mistakes.
> > > So I trying the examples in this site http://today.java.net/pub/a/
> > > today/2006/12/13/invoking-web-services-using-apache-axis2.html ,
> > > and i am getting this Exception tree:
> > >
> > > Exception in thread "main" org.apache.axis2.AxisFault: Read timed
> > out
> > > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> > > at org.apache.axis2.transport.http.HTTPSender.sendViaPost
> > > (HTTPSender.java:195)
> > > 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 sample.axisversion.Scenario1Client.main
> (Scenario1Client.java:
> > > 22)
> > > Caused by: java.net.SocketTimeoutException: Read timed out
> > > at java.net.SocketInputStream.socketRead0(Native Method)
> > > at java.net.SocketInputStream.read(Unknown Source)
> > > at java.io.BufferedInputStream.fill(Unknown Source)
> > > at java.io.BufferedInputStream.read(Unknown Source)
> > > 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)
> > > ... 10 more
> > >
> > > I tested the service in a browser and it appears to be working
> fine.
> > > I tried to execute the service in Tomcat 5.5 and using directly
> > > axis2server (Axis2 1.3). Anyone has any ideia, what is happening
> > here?
> > >
> > > Thanks in advance,
> > >
> > > Wesley.
> > >
> > > --
> > > Wesley Mesquita
> > > LIS/IC - UNICAMP
> > > [skype: wesley.mesquita]
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> > --
> > Wesley Mesquita
> > LIS/IC - UNICAMP
> > [skype: wesley.mesquita]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> --
> Wesley Mesquita
> LIS/IC - UNICAMP
> [skype: wesley.mesquita]
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: AxisFault: Read Time Out
Posted by Wesley Mesquita <we...@gmail.com>.
I got the same, i tried huge values and nothing has worked.
It seems to me that there is something wrong in the axis2 installation (or
in the services deployment), but I don´t know where to looking for since
the services appear to be working fine when I invoke them at a browser.
Thanks for trying to help.
On Feb 18, 2008 2:13 PM, Michele Mazzucco <Mi...@ncl.ac.uk>
wrote:
> Try options.setTimeoutInMilliseconds() then.
>
> Michele
>
> On 18 Feb 2008, at 16:50, Wesley Mesquita wrote:
>
> > What this function suppose to do? I tried it, but I am getting the
> > same Exception tree.
> >
> > On Feb 18, 2008 10:17 AM, Michele Mazzucco
> > <Mi...@ncl.ac.uk> wrote:
> > Wesley,
> >
> > try to call options.setProperty(HTTPConstants.SO_TIMEOUT, value);
> >
> > Michele
> >
> > On 18 Feb 2008, at 13:02, Wesley Mesquita wrote:
> >
> > > Hi all,
> > >
> > > I trying to use the axis2 api to generate clients to my
> > > webservices, but I am getting in trouble. I got rid of my examples
> > > to minimize the possibilities to make mistakes.
> > > So I trying the examples in this site http://today.java.net/pub/a/
> > > today/2006/12/13/invoking-web-services-using-apache-axis2.html ,
> > > and i am getting this Exception tree:
> > >
> > > Exception in thread "main" org.apache.axis2.AxisFault: Read timed
> > out
> > > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> > > at org.apache.axis2.transport.http.HTTPSender.sendViaPost
> > > (HTTPSender.java:195)
> > > 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 sample.axisversion.Scenario1Client.main(Scenario1Client.java:
> > > 22)
> > > Caused by: java.net.SocketTimeoutException: Read timed out
> > > at java.net.SocketInputStream.socketRead0(Native Method)
> > > at java.net.SocketInputStream.read(Unknown Source)
> > > at java.io.BufferedInputStream.fill(Unknown Source)
> > > at java.io.BufferedInputStream.read(Unknown Source)
> > > 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)
> > > ... 10 more
> > >
> > > I tested the service in a browser and it appears to be working fine.
> > > I tried to execute the service in Tomcat 5.5 and using directly
> > > axis2server (Axis2 1.3). Anyone has any ideia, what is happening
> > here?
> > >
> > > Thanks in advance,
> > >
> > > Wesley.
> > >
> > > --
> > > Wesley Mesquita
> > > LIS/IC - UNICAMP
> > > [skype: wesley.mesquita]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> > --
> > Wesley Mesquita
> > LIS/IC - UNICAMP
> > [skype: wesley.mesquita]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Wesley Mesquita
LIS/IC - UNICAMP
[skype: wesley.mesquita]
Re: AxisFault: Read Time Out
Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Try options.setTimeoutInMilliseconds() then.
Michele
On 18 Feb 2008, at 16:50, Wesley Mesquita wrote:
> What this function suppose to do? I tried it, but I am getting the
> same Exception tree.
>
> On Feb 18, 2008 10:17 AM, Michele Mazzucco
> <Mi...@ncl.ac.uk> wrote:
> Wesley,
>
> try to call options.setProperty(HTTPConstants.SO_TIMEOUT, value);
>
> Michele
>
> On 18 Feb 2008, at 13:02, Wesley Mesquita wrote:
>
> > Hi all,
> >
> > I trying to use the axis2 api to generate clients to my
> > webservices, but I am getting in trouble. I got rid of my examples
> > to minimize the possibilities to make mistakes.
> > So I trying the examples in this site http://today.java.net/pub/a/
> > today/2006/12/13/invoking-web-services-using-apache-axis2.html ,
> > and i am getting this Exception tree:
> >
> > Exception in thread "main" org.apache.axis2.AxisFault: Read timed
> out
> > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> > at org.apache.axis2.transport.http.HTTPSender.sendViaPost
> > (HTTPSender.java:195)
> > 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 sample.axisversion.Scenario1Client.main(Scenario1Client.java:
> > 22)
> > Caused by: java.net.SocketTimeoutException: Read timed out
> > at java.net.SocketInputStream.socketRead0(Native Method)
> > at java.net.SocketInputStream.read(Unknown Source)
> > at java.io.BufferedInputStream.fill(Unknown Source)
> > at java.io.BufferedInputStream.read(Unknown Source)
> > 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)
> > ... 10 more
> >
> > I tested the service in a browser and it appears to be working fine.
> > I tried to execute the service in Tomcat 5.5 and using directly
> > axis2server (Axis2 1.3). Anyone has any ideia, what is happening
> here?
> >
> > Thanks in advance,
> >
> > Wesley.
> >
> > --
> > Wesley Mesquita
> > LIS/IC - UNICAMP
> > [skype: wesley.mesquita]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> --
> Wesley Mesquita
> LIS/IC - UNICAMP
> [skype: wesley.mesquita]
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: AxisFault: Read Time Out
Posted by Wesley Mesquita <we...@gmail.com>.
What this function suppose to do? I tried it, but I am getting the same
Exception tree.
On Feb 18, 2008 10:17 AM, Michele Mazzucco <Mi...@ncl.ac.uk>
wrote:
> Wesley,
>
> try to call options.setProperty(HTTPConstants.SO_TIMEOUT, value);
>
> Michele
>
> On 18 Feb 2008, at 13:02, Wesley Mesquita wrote:
>
> > Hi all,
> >
> > I trying to use the axis2 api to generate clients to my
> > webservices, but I am getting in trouble. I got rid of my examples
> > to minimize the possibilities to make mistakes.
> > So I trying the examples in this site http://today.java.net/pub/a/
> > today/2006/12/13/invoking-web-services-using-apache-axis2.html ,
> > and i am getting this Exception tree:
> >
> > Exception in thread "main" org.apache.axis2.AxisFault: Read timed out
> > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> > at org.apache.axis2.transport.http.HTTPSender.sendViaPost
> > (HTTPSender.java:195)
> > 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 sample.axisversion.Scenario1Client.main(Scenario1Client.java:
> > 22)
> > Caused by: java.net.SocketTimeoutException: Read timed out
> > at java.net.SocketInputStream.socketRead0(Native Method)
> > at java.net.SocketInputStream.read(Unknown Source)
> > at java.io.BufferedInputStream.fill(Unknown Source)
> > at java.io.BufferedInputStream.read(Unknown Source)
> > 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)
> > ... 10 more
> >
> > I tested the service in a browser and it appears to be working fine.
> > I tried to execute the service in Tomcat 5.5 and using directly
> > axis2server (Axis2 1.3). Anyone has any ideia, what is happening here?
> >
> > Thanks in advance,
> >
> > Wesley.
> >
> > --
> > Wesley Mesquita
> > LIS/IC - UNICAMP
> > [skype: wesley.mesquita]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Wesley Mesquita
LIS/IC - UNICAMP
[skype: wesley.mesquita]
Re: AxisFault: Read Time Out
Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Wesley,
try to call options.setProperty(HTTPConstants.SO_TIMEOUT, value);
Michele
On 18 Feb 2008, at 13:02, Wesley Mesquita wrote:
> Hi all,
>
> I trying to use the axis2 api to generate clients to my
> webservices, but I am getting in trouble. I got rid of my examples
> to minimize the possibilities to make mistakes.
> So I trying the examples in this site http://today.java.net/pub/a/
> today/2006/12/13/invoking-web-services-using-apache-axis2.html ,
> and i am getting this Exception tree:
>
> Exception in thread "main" org.apache.axis2.AxisFault: Read timed out
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> at org.apache.axis2.transport.http.HTTPSender.sendViaPost
> (HTTPSender.java:195)
> 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 sample.axisversion.Scenario1Client.main(Scenario1Client.java:
> 22)
> Caused by: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(Unknown Source)
> at java.io.BufferedInputStream.fill(Unknown Source)
> at java.io.BufferedInputStream.read(Unknown Source)
> 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)
> ... 10 more
>
> I tested the service in a browser and it appears to be working fine.
> I tried to execute the service in Tomcat 5.5 and using directly
> axis2server (Axis2 1.3). Anyone has any ideia, what is happening here?
>
> Thanks in advance,
>
> Wesley.
>
> --
> Wesley Mesquita
> LIS/IC - UNICAMP
> [skype: wesley.mesquita]
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org