Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004975 [Resin] minor always 03-02-12 11:24 06-19-12 14:32
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.29 Product Version 4.0.26
  Product Build
Summary 0004975: native JniStream socket timeout
Description The logging for JniStream on timeout is too verbose. Resin dumps a whole stack trace.

[12-03-02 13:40:13.568] {http://*:8443-1} [^] com.caucho.vfs.SocketTimeoutException: client timeout
                           at com.caucho.vfs.JniStream.exception(JniStream.java:229)
                           at com.caucho.vfs.JniStream.read(JniStream.java:83)
                           at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:1237)
                           at com.caucho.vfs.ReadStream.read(ReadStream.java:476)
                           at com.caucho.server.http.ContentLengthStream.read(ContentLengthStream.java:75)
                           at com.caucho.vfs.ReadStream.read(ReadStream.java:464)
                           at com.caucho.server.http.ServletInputStreamImpl.read(ServletInputStreamImpl.java:79)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2961)
                           at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:299)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1619)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1657)
                           at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1748)
                           at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2939)
                           at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
                           at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
                           at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:554)
                           at test.XmlServlet.doPost(XmlServlet.java:25)
                           at javax.servlet.http.HttpServlet.service(HttpServlet.java:158)
                           at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
                           at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
                           at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:169)
                           at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
                           at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
                           at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
                           at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:811)
                           at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1227)
                           at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1183)
                           at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1167)
                           at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1077)
                           at com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:902)
                           at com.caucho.network.listen.AcceptTask.doTask(AcceptTask.java:73)
                           at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:97)
                           at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:80)
                           at com.caucho.network.listen.AcceptTask.run(AcceptTask.java:58)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:119)
                       
[12-03-02 13:40:13.584] {http://*:8443-1} [^] TcpSocketLink[id=1,app-0] com.caucho.vfs.SocketTimeoutException: client timeout
                       com.caucho.vfs.SocketTimeoutException: client timeout
                           at com.caucho.vfs.JniStream.exception(JniStream.java:229)
                           at com.caucho.vfs.JniStream.read(JniStream.java:83)
                           at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:1237)
                           at com.caucho.vfs.ReadStream.read(ReadStream.java:476)
                           at com.caucho.server.http.ContentLengthStream.read(ContentLengthStream.java:75)
                           at com.caucho.vfs.ReadStream.read(ReadStream.java:464)
                           at com.caucho.server.http.ServletInputStreamImpl.read(ServletInputStreamImpl.java:79)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2961)
                           at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:299)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1619)
                           at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1657)
                           at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1748)
                           at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2939)
                           at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
                           at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
                           at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:554)
                           at test.XmlServlet.doPost(XmlServlet.java:25)
                           at javax.servlet.http.HttpServlet.service(HttpServlet.java:158)
                           at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
                           at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
                           at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:169)
                           at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
                           at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
                           at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
                           at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:811)
                           at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1227)
                           at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1183)
                           at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1167)
                           at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1077)
                           at com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:902)
                           at com.caucho.network.listen.AcceptTask.doTask(AcceptTask.java:73)
                           at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:97)
                           at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:80)
                           at com.caucho.network.listen.AcceptTask.run(AcceptTask.java:58)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:119)
Steps To Reproduce
Additional Information Rep by Y. Hsu
Attached Files

- Relationships

- Notes
(0005886)
ferg
06-19-12 14:32

server/12o6
 

- Issue History
Date Modified Username Field Change
03-02-12 11:24 cowan New Issue
06-19-12 14:32 ferg Note Added: 0005886
06-19-12 14:32 ferg Assigned To  => ferg
06-19-12 14:32 ferg Status new => closed
06-19-12 14:32 ferg Resolution open => fixed
06-19-12 14:32 ferg Fixed in Version  => 4.0.29


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker