users@glassfish.java.net

Connection reset by peer (was OpenCMS suffering session reset...)

From: Edson Carlos Ericksson Richter <edson.richter_at_mgrinformatica.com.br>
Date: Sun, 30 Jul 2006 19:47:55 -0300

Hi!

Just to be sure I'm not making any confusion, and since I was forced to
go back to this problem, I wan't to report I'm getting connection reset
by peer in the Admin GUI too.
I just installed a Glassfish b48 fresh on my C: disk on WinXP with
Norton Anti Virus, Windows Defender, Windows Firewall active (as I
reported before, I already tried with everything disabled - make no diff).

I have similar problem with OpenCMS (jsp/servlet only) and with a NB 5.5
JSF generated application.
I already tried to disable all network adapters (I have two on this
machine) to be sure it's not a hardware problem. No diff.
I'm accessing localhost, and the problem occur with Firefox and with
Internet Explorer.
There is no proxy.
Machine is 2.26Ghz Celeron, with 1,5Gb RAM, nVidea video board (may be
hardware make difference? I don't think so).
I already tryied Sun App Server 9 FCS (with/without updating
JSF/TopLink) and Glassfish ur1 b03. All with same problem.
Already tried to disable NIO under yours orientation, still same problem.
Tomcat 5.5 (9, 12, 16 and 17) on same machine, running OpenCMS (deployed
from same dir), don't suffer this problem.

Stack trace from the log (plain Glassfish b48):

StandardWrapperValve[DownloadServlet]: Servlet.service() for servlet
DownloadServlet threw exception
java.lang.RuntimeException: ClientAbortException: java.io.IOException:
Uma conexão estabelecida foi anulada pelo software no computador host
        at
com.sun.enterprise.tools.admingui.servlet.DownloadServlet.writeContent(DownloadServlet.java:300)
        at
com.sun.enterprise.tools.admingui.servlet.DownloadServlet.doPost(DownloadServlet.java:156)
        at
com.sun.enterprise.tools.admingui.servlet.DownloadServlet.doGet(DownloadServlet.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: ClientAbortException: java.io.IOException: Uma conexão
estabelecida foi anulada pelo software no computador host
        at
org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:414)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:404)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:326)
        at
org.apache.coyote.tomcat5.OutputBuffer.writeBytes(OutputBuffer.java:442)
        at
org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:429)
        at
org.apache.coyote.tomcat5.CoyoteOutputStream.write(CoyoteOutputStream.java:106)
        at
com.sun.enterprise.tools.admingui.servlet.DownloadServlet.writeContent(DownloadServlet.java:291)
        ... 28 more
Caused by: java.io.IOException: Uma conexão estabelecida foi anulada
pelo software no computador host
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
        at sun.nio.ch.IOUtil.write(IOUtil.java:75)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
        at
com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:52)
        at
com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:115)
        at
com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.realWriteBytes(SocketChannelOutputBuffer.java:105)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:331)
        at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:789)
        at
org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:136)
        at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:583)
        at org.apache.coyote.Response.doWrite(Response.java:575)
        at
org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:409)
        ... 34 more