axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushil Dodake" <sushil.dod...@gmail.com>
Subject Re: Socket time out exception
Date Fri, 11 Jul 2008 21:27:27 GMT
MIchele,

my tomcat already hav the connection time out value bery high


<Connector port="8090" protocol="HTTP/1.1"

connectionTimeout="20000"

redirectPort="8443" />
any other guess?

reagrss,

Sush
On Fri, Jul 11, 2008 at 4:23 AM, Michele Mazzucco <
Michele.Mazzucco@ncl.ac.uk> wrote:

> It looks like a problem with tomcat. Open $CATALINA_HOME/conf/server.xml
> and try to change the value for "connectionTimeout" for the Connector you're
> using.
>
> Michele
>
>
>
> p.s. E-mails like this one should be sent to axis-user, not axis-dev.
>
>
>
> On 10 Jul 2008, at 19:31, Sushil Dodake wrote:
>
> HI all,
>> i am getting this socket time out error while unmarshalling the XML.
>> i am not able to get figure out the reason.
>> could it be because of the memory issue?
>> can anybody help here?
>>
>> 2008-07-09 01:01:40,362 [http-8082-34] ERROR
>> com.XXX.service.rebate.RebateServiceImpl  - There was an error when
>> unmarshalling request XML
>> org.apache.axiom.om.OMException: java.lang.RuntimeException: [was class
>> java.net.SocketTimeoutException] Read timed out
>>  at
>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
>>  at
>> org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
>>  at
>> org.apache.axiom.om.impl.traverse.OMChildElementIterator.next(OMChildElementIterator.java:104)
>>  at
>> com.XXX.service.rebate.RebateServiceImpl.extractInvoices(RebateServiceImpl.java:163)
>>  at
>> com.XXX.service.rebate.RebateServiceImpl.generateRebates(RebateServiceImpl.java:74)
>>  at sun.reflect.GeneratedMethodAccessor920.invoke(Unknown Source)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>  at
>> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:97)
>>  at
>> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
>>  at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>>  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>>  at
>> org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125)
>>  at
>> org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:78)
>>  at
>> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processXMLRequest(AxisServlet.java:788)
>>  at
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:193)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>  at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>  at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>  at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>  at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>>  at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>  at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>>  at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>  at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.RuntimeException: [was class
>> java.net.SocketTimeoutException] Read timed out
>>  at
>> com.ctc.wstx.util.ExceptionUtil.throwRuntimeException(ExceptionUtil.java:18)
>>  at com.ctc.wstx.sr.StreamScanner.throwLazyError(StreamScanner.java:706)
>>  at
>> com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3655)
>>  at com.ctc.wstx.sr.BasicStreamReader.getText(BasicStreamReader.java:809)
>>  at
>> org.apache.axiom.om.impl.builder.StAXBuilder.createOMText(StAXBuilder.java:245)
>>  at
>> org.apache.axiom.om.impl.builder.StAXBuilder.createOMText(StAXBuilder.java:216)
>>  at
>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:179)
>>  ... 29 more
>> Caused by: java.net.SocketTimeoutException: Read timed out
>>  at java.net.SocketInputStream.socketRead0(Native Method)
>>  at java.net.SocketInputStream.read(SocketInputStream.java:129)
>>  at
>> org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:716)
>>  at
>> org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:746)
>>  at
>> org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:243)
>>  at
>> org.apache.coyote.http11.filters.ChunkedInputFilter.parseCRLF(ChunkedInputFilter.java:326)
>>  at
>> org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:128)
>>  at
>> org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:675)
>>  at org.apache.coyote.Request.doRead(Request.java:428)
>>  at
>> org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:298)
>>  at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405)
>>  at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:313)
>>  at
>> org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193)
>>  at java.io.FilterInputStream.read(FilterInputStream.java:116)
>>  at java.io.PushbackInputStream.read(PushbackInputStream.java:169)
>>  at java.io.FilterInputStream.read(FilterInputStream.java:90)
>>  at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
>>  at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
>>  at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
>>  at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
>>  at
>> com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
>>  at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967)
>>  at
>> com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4626)
>>  at
>> com.ctc.wstx.sr.BasicStreamReader.readCoalescedText(BasicStreamReader.java:4124)
>>  at
>> com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3699)
>>  at
>> com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3647)
>>  ... 33 more
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

Mime
View raw message