Skip to main content

Connection reset by peer (FileCache.sendCache)

1 reply [Last post]
peppeme
Offline
Joined: 2007-05-30
Points: 0

hello,
I get many of the stack trace exception above.
How can avoid this?
It seems a client/server communications problem.. but the server.log is filled by these.

2012-11-16T10:31:04.487+0100
|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=67;_ThreadName=Thread-2;
|java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89)
at sun.nio.ch.IOUtil.write(IOUtil.java:60)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:108)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:76)
at com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:426)
at com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:498)
at com.sun.grizzly.http.FileCache.sendCache(FileCache.java:540)
at com.sun.grizzly.http.FileCache.sendCache(FileCache.java:497)
at com.sun.grizzly.config.ContainerStaticHandler.handle(ContainerStaticHandler.java:131)
at com.sun.grizzly.config.ContainerStaticHandler.handle(ContainerStaticHandler.java:62)
at com.sun.grizzly.http.ProcessorTask.parseRequest(ProcessorTask.java:971)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:717)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
oleksiys
Offline
Joined: 2006-01-25
Points: 0

Pls. file an issue here [1] and assign to Grizzly module, also pls. specify GF version you're using.

Thanks.

WBR,
Alexey.

[1] http://java.net/jira/browse/GLASSFISH