cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3898) Socket Read Timeout - Couldn't parse stream - Runtime Exception - JOnAS 5.1
Date Mon, 05 Dec 2011 20:24:41 GMT

     [ https://issues.apache.org/jira/browse/CXF-3898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp updated CXF-3898:
-----------------------------

      Description: 
Hi, 

I'm facing Socket Read Timeout kind of problem concerning CXF services deployed on a JOnAS
5.1.5 application server running with JDK 1.6.
I'm stuck, and actually no way to get rid of it.
The problem happens sporadically,thanks for your comments & help :

The stack :

 java.lang.RuntimeException: Couldn't parse stream.
               at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:816)
               at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83)
               at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
               at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:88)
               at org.ow2.jonas.ws.cxf.http.JOnASDestination.invoke(JOnASDestination.java:111)
               at org.ow2.jonas.ws.cxf.jaxws.CXFWSEndpoint.invoke(CXFWSEndpoint.java:151)
               at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.invokeDestination(JAXWSServlet.java:113)
               at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.doPost(JAXWSServlet.java:75)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
               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:191)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               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:340)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
               at java.lang.Thread.run(Thread.java:619)
 Caused by: com.ctc.wstx.exc.WstxIOException: Read timed out
               at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
               at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
               at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629)
               at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324)
               at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:814)
               ... 21 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:751)
               at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781)
               at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:243)
               at org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:273)
               at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:132)
               at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
               at org.apache.coyote.Request.doRead(Request.java:428)
               at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
               at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
               at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
               at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
               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.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245)
               at com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132)
               at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
               ... 25 more


  was:

Hi, 

I'm facing Socket Read Timeout kind of problem concerning CXF services deployed on a JOnAS
5.1.5 application server running with JDK 1.6.
I'm stuck, and actually no way to get rid of it.
The problem happens sporadically,thanks for your comments & help :

The stack :

 java.lang.RuntimeException: Couldn't parse stream.
               at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:816)
               at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83)
               at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
               at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:88)
               at org.ow2.jonas.ws.cxf.http.JOnASDestination.invoke(JOnASDestination.java:111)
               at org.ow2.jonas.ws.cxf.jaxws.CXFWSEndpoint.invoke(CXFWSEndpoint.java:151)
               at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.invokeDestination(JAXWSServlet.java:113)
               at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.doPost(JAXWSServlet.java:75)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
               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:191)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               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:340)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
               at java.lang.Thread.run(Thread.java:619)
 Caused by: com.ctc.wstx.exc.WstxIOException: Read timed out
               at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
               at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
               at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629)
               at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324)
               at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:814)
               ... 21 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:751)
               at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781)
               at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:243)
               at org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:273)
               at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:132)
               at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
               at org.apache.coyote.Request.doRead(Request.java:428)
               at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
               at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
               at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
               at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
               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.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245)
               at com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132)
               at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
               ... 25 more


    Fix Version/s: NeedMoreInfo


Would definitely need a testcase or something for this, but I would also suggest that this
needs to be logged with Jonas.   The stack trace includes Jonas' specific HTTP destination
code and not our Servlet based stuff that we provide.  We really have no idea or control over
what they are doing at that level.

                
> Socket Read Timeout - Couldn't parse stream - Runtime Exception - JOnAS 5.1
> ---------------------------------------------------------------------------
>
>                 Key: CXF-3898
>                 URL: https://issues.apache.org/jira/browse/CXF-3898
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0
>         Environment: Windows Server 2003 R2, Standard x64 Edition
>            Reporter: Olivier Hortin
>             Fix For: NeedMoreInfo
>
>
> Hi, 
> I'm facing Socket Read Timeout kind of problem concerning CXF services deployed on a
JOnAS 5.1.5 application server running with JDK 1.6.
> I'm stuck, and actually no way to get rid of it.
> The problem happens sporadically,thanks for your comments & help :
> The stack :
>  java.lang.RuntimeException: Couldn't parse stream.
>                at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:816)
>                at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83)
>                at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
>                at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:88)
>                at org.ow2.jonas.ws.cxf.http.JOnASDestination.invoke(JOnASDestination.java:111)
>                at org.ow2.jonas.ws.cxf.jaxws.CXFWSEndpoint.invoke(CXFWSEndpoint.java:151)
>                at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.invokeDestination(JAXWSServlet.java:113)
>                at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.doPost(JAXWSServlet.java:75)
>                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>                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:191)
>                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>                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:340)
>                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>                at java.lang.Thread.run(Thread.java:619)
>  Caused by: com.ctc.wstx.exc.WstxIOException: Read timed out
>                at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
>                at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
>                at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629)
>                at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324)
>                at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:814)
>                ... 21 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:751)
>                at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781)
>                at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:243)
>                at org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:273)
>                at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:132)
>                at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
>                at org.apache.coyote.Request.doRead(Request.java:428)
>                at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
>                at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
>                at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
>                at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
>                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.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245)
>                at com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132)
>                at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
>                ... 25 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message