Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001856 [Resin] minor always 07-06-07 11:10 07-12-07 14:33
Reporter sam View Status public  
Assigned To ferg
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.24 Product Version 3.1.1
  Product Build
Summary 0001856: HttpProxyServlet SocketException: Connection reset
Description (rep by H Shih)

Can this be fixed in 3.0.24?

Using HttpProxyServlet, every second request fails with a 503 and a java.net.SocketException: Connection reset in the logs.

[15:42:52.839] [0] GET /services/hogwarts/HmuCharging HTTP/1.1
[15:42:52.840] [0] Remote-IP: 192.168.200.229:2513
[15:42:52.840] [0] Host: dev-eng:61499
[15:42:52.841] [0] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[15:42:52.841] [0] Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[15:42:52.842] [0] Accept-Language: en-us,en;q=0.5
[15:42:52.842] [0] Accept-Encoding: gzip,deflate
[15:42:52.842] [0] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
[15:42:52.843] [0] Keep-Alive: 300
[15:42:52.843] [0] Connection: keep-alive
[15:42:52.866] real-path /services/hogwarts/HmuCharging -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/HmuCharging
[15:42:52.867] real-path /services/hogwarts/HmuCharging/index.xtp -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/HmuCharging/index.xtp
[15:42:52.868] real-path /services/hogwarts/HmuCharging/index.jsp -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/HmuCharging/index.jsp
[15:42:52.869] real-path /services/hogwarts/HmuCharging/index.html -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/HmuCharging/index.html
[15:42:52.870] invoke (uri:/services/hogwarts/HmuCharging -> file)
[15:42:52.881] forwarding `/services/hogwarts/HmuCharging' to `/services/hmucharging'
[15:42:52.884] invoke (uri:/services/hmucharging -> HogwartsMdnLookupHttpProxy)
[15:42:52.886] invoke (uri:/services/hmucharging -> HogwartsMdnLookupHttpProxy)
[15:42:52.888] invoke (uri:/services/hmucharging -> HogwartsMdnLookupHttpProxy)
[15:42:52.923] Servlet[HogwartsMdnLookupHttpProxy] starting
[15:42:52.927] HogwartsMdnLookupHttpProxy: init
[15:42:52.929] javax.management.NotCompliantMBeanException: resin:type=HttpProxyServlet,Host=default,WebApp=/,name=HogwartsMdnLookupHttpProxy mbean has no MBean interface
[15:42:52.930] Servlet[HogwartsMdnLookupHttpProxy] started
[15:42:54.540] date: Thu, 05 Jul 2007 19:42:54 GMT
[15:42:54.541] server: Apache-Coyote/1.1
[15:42:54.541] content-type: text/html;charset=utf-8
[15:42:54.542] content-length: 135
[15:42:54.542] connection: close
[15:42:54.548] [0] HTTP/1.1 200 OK
[15:42:54.548] [0] connection: close
[15:42:54.549] [0] server: Apache-Coyote/1.1
[15:42:54.549] [0] Content-Type: text/html;charset=utf-8
[15:42:54.549] [0] Content-Length: 135
[15:42:54.550] [inc] chunk: 135
[15:42:54.552] [0] keepalive
[15:42:54.552] [0] keepalive (thread)
[15:42:54.575] closing connection TcpConnection[id=resin-tcp-connection-*:61499-1,socket=QSocketWrapper[Socket[addr=/192.168.200.229,port=2513,localport=61499]],port=Port[null:61499]], total=6
[15:43:01.277] starting connection TcpConnection[id=resin-tcp-connection-*:61499-9,socket=QSocketWrapper[Socket[addr=/192.168.200.229,port=2514,localport=61499]],port=Port[null:61499]], total=6
[15:43:01.278] [4] GET /services/hogwarts/HmuCharging HTTP/1.1
[15:43:01.279] [4] Remote-IP: 192.168.200.229:2514
[15:43:01.279] [4] Host: dev-eng:61499
[15:43:01.280] [4] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[15:43:01.280] [4] Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[15:43:01.281] [4] Accept-Language: en-us,en;q=0.5
[15:43:01.281] [4] Accept-Encoding: gzip,deflate
[15:43:01.281] [4] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
[15:43:01.282] [4] Keep-Alive: 300
[15:43:01.282] [4] Connection: keep-alive
[15:43:01.283] [4] Cache-Control: max-age=0
[15:43:01.286] forwarding `/services/hogwarts/HmuCharging' to `/services/hmucharging'
[15:43:01.429] java.net.SocketException: Connection reset
[15:43:01.429] at java.net.SocketInputStream.read(SocketInputStream.java:168)
[15:43:01.429] at com.caucho.vfs.VfsStream.read(VfsStream.java:143)
[15:43:01.429] at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:945)
[15:43:01.429] at com.caucho.vfs.ReadStream.readLine(ReadStream.java:716)
[15:43:01.429] at com.caucho.vfs.ReadStream.readln(ReadStream.java:646)
[15:43:01.429] at com.caucho.vfs.HttpStream.parseHeaders(HttpStream.java:611)
[15:43:01.429] at com.caucho.vfs.HttpStream.getConnInputImpl(HttpStream.java:594)
[15:43:01.429] at com.caucho.vfs.HttpStream.getConnInput(HttpStream.java:511)
[15:43:01.429] at com.caucho.vfs.HttpStream.getAttribute(HttpStream.java:317)
[15:43:01.429] at com.caucho.vfs.HttpStreamWrapper.getAttribute(HttpStreamWrapper.java:120)
[15:43:01.429] at com.caucho.vfs.ReadStream.getAttribute(ReadStream.java:1039)
[15:43:01.429] at com.caucho.servlets.HttpProxyServlet.handleRequest(HttpProxyServlet.java:169)
[15:43:01.429] at com.caucho.servlets.HttpProxyServlet.service(HttpProxyServlet.java:123)
[15:43:01.429] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
[15:43:01.429] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
[15:43:01.429] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[15:43:01.429] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
[15:43:01.429] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106)
[15:43:01.429] at com.caucho.filters.RewriteFilter.doFilter(RewriteFilter.java:111)
[15:43:01.429] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
[15:43:01.429] at upoc.servlet.RequestMeteringFilter.doFilter(RequestMeteringFilter.java:55)
[15:43:01.429] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
[15:43:01.429] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
[15:43:01.429] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[15:43:01.429] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
[15:43:01.429] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[15:43:01.429] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
[15:43:01.429] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[15:43:01.429] at java.lang.Thread.run(Thread.java:595)
[15:43:01.447] [4] HTTP/1.1 503 Service Temporarily Unavailable
[15:43:01.447] [4] Content-Type: text/html
[15:43:01.447] [4] Transfer-Encoding: chunked
[15:43:01.448] [inc] write-chunk(7)
[15:43:01.449] [4] keepalive
[15:43:01.450] [4] keepalive (thread)
[15:43:08.751] [4] GET /services/hogwarts/MdnLookup HTTP/1.1
[15:43:08.751] [4] Remote-IP: 192.168.200.229:2514
[15:43:08.752] [4] Host: dev-eng:61499
[15:43:08.752] [4] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[15:43:08.753] [4] Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[15:43:08.753] [4] Accept-Language: en-us,en;q=0.5
[15:43:08.753] [4] Accept-Encoding: gzip,deflate
[15:43:08.754] [4] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
[15:43:08.754] [4] Keep-Alive: 300
[15:43:08.754] [4] Connection: keep-alive
[15:43:08.759] real-path /services/hogwarts/MdnLookup -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/MdnLookup
[15:43:08.760] real-path /services/hogwarts/MdnLookup/index.xtp -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/MdnLookup/index.xtp
[15:43:08.761] real-path /services/hogwarts/MdnLookup/index.jsp -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/MdnLookup/index.jsp
[15:43:08.761] real-path /services/hogwarts/MdnLookup/index.html -> /home/harry/code/Idea-HeadBranch/Source/Web/services/hogwarts/MdnLookup/index.html
[15:43:08.762] invoke (uri:/services/hogwarts/MdnLookup -> file)
[15:43:08.763] forwarding `/services/hogwarts/MdnLookup' to `/services/validatemdn'
[15:43:08.765] invoke (uri:/services/validatemdn -> HogwartsMdnLookupHttpProxy)
[15:43:08.767] invoke (uri:/services/validatemdn -> HogwartsMdnLookupHttpProxy)
[15:43:08.768] invoke (uri:/services/validatemdn -> HogwartsMdnLookupHttpProxy)
[15:43:08.898] date: Thu, 05 Jul 2007 19:43:08 GMT
[15:43:08.898] server: Apache-Coyote/1.1
[15:43:08.899] content-type: text/html;charset=utf-8
[15:43:08.899] content-length: 135
[15:43:08.899] connection: close
[15:43:08.901] [4] HTTP/1.1 200 OK
[15:43:08.901] [4] connection: close
[15:43:08.902] [4] server: Apache-Coyote/1.1
[15:43:08.902] [4] Content-Type: text/html;charset=utf-8
[15:43:08.902] [4] Content-Length: 135
[15:43:08.903] [inc] chunk: 135
[15:43:08.903] [4] keepalive
[15:43:08.904] [4] keepalive (thread)
[15:43:08.905] closing connection TcpConnection[id=resin-tcp-connection-*:61499-9,socket=QSocketWrapper[Socket[addr=/192.168.200.229,port=2514,localport=61499]],port=Port[null:61499]], total=6
[15:43:11.403] starting connection TcpConnection[id=resin-tcp-connection-*:61499-1,socket=QSocketWrapper[Socket[addr=/192.168.200.229,port=2515,localport=61499]],port=Port[null:61499]], total=6
[15:43:11.432] [0] GET /services/hogwarts/MdnLookup HTTP/1.1
[15:43:11.433] [0] Remote-IP: 192.168.200.229:2515
[15:43:11.433] [0] Host: dev-eng:61499
[15:43:11.434] [0] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
[15:43:11.434] [0] Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[15:43:11.435] [0] Accept-Language: en-us,en;q=0.5
[15:43:11.435] [0] Accept-Encoding: gzip,deflate
[15:43:11.436] [0] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
[15:43:11.436] [0] Keep-Alive: 300
[15:43:11.436] [0] Connection: keep-alive
[15:43:11.437] [0] Cache-Control: max-age=0
[15:43:11.440] forwarding `/services/hogwarts/MdnLookup' to `/services/validatemdn'
[15:43:11.473] java.net.SocketException: Connection reset
[15:43:11.473] at java.net.SocketInputStream.read(SocketInputStream.java:168)
[15:43:11.473] at com.caucho.vfs.VfsStream.read(VfsStream.java:143)
[15:43:11.473] at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:945)
[15:43:11.473] at com.caucho.vfs.ReadStream.readLine(ReadStream.java:716)
[15:43:11.473] at com.caucho.vfs.ReadStream.readln(ReadStream.java:646)
[15:43:11.473] at com.caucho.vfs.HttpStream.parseHeaders(HttpStream.java:611)
[15:43:11.473] at com.caucho.vfs.HttpStream.getConnInputImpl(HttpStream.java:594)
[15:43:11.473] at com.caucho.vfs.HttpStream.getConnInput(HttpStream.java:511)
[15:43:11.473] at com.caucho.vfs.HttpStream.getAttribute(HttpStream.java:317)
[15:43:11.473] at com.caucho.vfs.HttpStreamWrapper.getAttribute(HttpStreamWrapper.java:120)
[15:43:11.473] at com.caucho.vfs.ReadStream.getAttribute(ReadStream.java:1039)
[15:43:11.473] at com.caucho.servlets.HttpProxyServlet.handleRequest(HttpProxyServlet.java:169)
[15:43:11.473] at com.caucho.servlets.HttpProxyServlet.service(HttpProxyServlet.java:123)
[15:43:11.473] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
[15:43:11.473] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
[15:43:11.473] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[15:43:11.473] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
[15:43:11.473] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106)
[15:43:11.473] at com.caucho.filters.RewriteFilter.doFilter(RewriteFilter.java:111)
[15:43:11.473] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
[15:43:11.473] at upoc.servlet.RequestMeteringFilter.doFilter(RequestMeteringFilter.java:55)
[15:43:11.473] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
[15:43:11.473] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
[15:43:11.473] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[15:43:11.473] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
[15:43:11.473] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[15:43:11.473] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
[15:43:11.473] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[15:43:11.473] at java.lang.Thread.run(Thread.java:595)
[15:43:11.479] [0] HTTP/1.1 503 Service Temporarily Unavailable
[15:43:11.479] [0] Content-Type: text/html
[15:43:11.479] [0] Transfer-Encoding: chunked
[15:43:11.480] [inc] write-chunk(7)
[15:43:11.481] [0] keepalive
[15:43:11.481] [0] keepalive (thread)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002111)
ferg
07-12-07 14:33

server/1968
 

- Issue History
Date Modified Username Field Change
07-06-07 11:10 sam New Issue
07-09-07 09:49 sam Description Updated
07-12-07 14:33 ferg Note Added: 0002111
07-12-07 14:33 ferg Assigned To  => ferg
07-12-07 14:33 ferg Status new => closed
07-12-07 14:33 ferg Resolution open => fixed
07-12-07 14:33 ferg Fixed in Version  => 3.0.24


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