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 Chathura Herath <ch...@gmail.com> on 2006/03/09 13:43:05 UTC

Re:[Axis2] Read Time Out

What is an estimate of an anticipated time for your j2ee app to
produce a result. Is it a long running application?

On 3/9/06, nancy <na...@daffodildb.com> wrote:
>
>  Hi,
> I am using Axis2 to develop my J2ee application as a Webservice i.e I just
> want to expose only 2 methods of my application. Now I want to make its
> clients using Axis2 itself.When my client send request to webservice,error
> occurs:
>
> DEBUG HttpConnection - enter HttpConnection.getRequestOutputStream()
> DEBUG content - >> "138[\r][\n]"
> DEBUG content - >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
> /><soapenv:Body><ns1:get1
> xmlns:ns1="http://cabc/pqr/namespace1"><ns1:param1>1</ns1:param1></ns1:get1>
> </soapenv:Body></soapenv:Envelope>"
> DEBUG content - >> "[\r][\n]"
> DEBUG content - >> "0"
> DEBUG content - >> "[\r][\n]"
> DEBUG content - >> "[\r][\n]"
> DEBUG EntityEnclosingMethod - Request body sent
> DEBUG HttpConnection - enter HttpConnection.flushRequestOutputStream()
> DEBUG HttpMethodBase - enter HttpMethodBase.readResponse(HttpState,
> HttpConnection)
> DEBUG HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState,
> HttpConnection)
> DEBUG HttpConnection - enter HttpConnection.readLine()
> DEBUG HttpParser - enter HttpParser.readLine(InputStream, String)
> DEBUG HttpParser - enter HttpParser.readRawLine()
> DEBUG HttpMethodDirector - Closing the connection.
> DEBUG HttpConnection - enter HttpConnection.close()
> DEBUG HttpConnection - enter HttpConnection.closeSockedAndStreams()
> DEBUG HttpMethodDirector - Method retry handler returned false. Automatic
> recovery will not be attempted
> DEBUG HttpConnection - enter HttpConnection.releaseConnection()
> DEBUG HttpConnection - Releasing connection back to connection manager.
> org.apache.axis2.AxisFault: Read timed out; nested exception is:
>         java.net.SocketTimeoutException: Read timed out; nested exception
> is:
>         org.apache.axis2.AxisFault: Read timed out; nested exception is:
>         java.net.SocketTimeoutException: Read timed out
>         at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
> PTransportSender.java:247)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:512)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
> n.java:332)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
> tion.java:268)
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
>


--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

RE: [Axis2] Read Time Out

Posted by nancy <na...@daffodildb.com>.
Yah I am using hibernate in my application.So it take time.
I have set options.setTimeOutInMilliSeconds(10000);
Then also error is coming.


-----Original Message-----
From: Chathura Herath [mailto:chathurah@gmail.com] 
Sent: Thursday, March 09, 2006 6:13 PM
To: axis-user@ws.apache.org
Subject: Re:[Axis2] Read Time Out

What is an estimate of an anticipated time for your j2ee app to
produce a result. Is it a long running application?

On 3/9/06, nancy <na...@daffodildb.com> wrote:
>
>  Hi,
> I am using Axis2 to develop my J2ee application as a Webservice i.e I just
> want to expose only 2 methods of my application. Now I want to make its
> clients using Axis2 itself.When my client send request to webservice,error
> occurs:
>
> DEBUG HttpConnection - enter HttpConnection.getRequestOutputStream()
> DEBUG content - >> "138[\r][\n]"
> DEBUG content - >> "<?xml version='1.0'
encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
> /><soapenv:Body><ns1:get1
>
xmlns:ns1="http://cabc/pqr/namespace1"><ns1:param1>1</ns1:param1></ns1:get1>
> </soapenv:Body></soapenv:Envelope>"
> DEBUG content - >> "[\r][\n]"
> DEBUG content - >> "0"
> DEBUG content - >> "[\r][\n]"
> DEBUG content - >> "[\r][\n]"
> DEBUG EntityEnclosingMethod - Request body sent
> DEBUG HttpConnection - enter HttpConnection.flushRequestOutputStream()
> DEBUG HttpMethodBase - enter HttpMethodBase.readResponse(HttpState,
> HttpConnection)
> DEBUG HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState,
> HttpConnection)
> DEBUG HttpConnection - enter HttpConnection.readLine()
> DEBUG HttpParser - enter HttpParser.readLine(InputStream, String)
> DEBUG HttpParser - enter HttpParser.readRawLine()
> DEBUG HttpMethodDirector - Closing the connection.
> DEBUG HttpConnection - enter HttpConnection.close()
> DEBUG HttpConnection - enter HttpConnection.closeSockedAndStreams()
> DEBUG HttpMethodDirector - Method retry handler returned false. Automatic
> recovery will not be attempted
> DEBUG HttpConnection - enter HttpConnection.releaseConnection()
> DEBUG HttpConnection - Releasing connection back to connection manager.
> org.apache.axis2.AxisFault: Read timed out; nested exception is:
>         java.net.SocketTimeoutException: Read timed out; nested exception
> is:
>         org.apache.axis2.AxisFault: Read timed out; nested exception is:
>         java.net.SocketTimeoutException: Read timed out
>         at
>
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
> PTransportSender.java:247)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:512)
>         at
>
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
> n.java:332)
>         at
>
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
> tion.java:268)
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
>
>
>


--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006