Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

java.io.IOException: Connection reset by peer

rade.todorovichJun 16 2014 — edited Jun 16 2014

JDeveloper 12.1.2 and standalone Weblogic 12.1.2

This one bothers me for quite some time and I am determined to get to the bottom of this problem. Having said that, I am unsure if this indeed is the problem that is relevant to ADF application.

So we have several simple ADF applications, that are deployed onto a standalone Weblogic server. Each application has its own managed server. If we look at one of the server log files myserverfile.out, there are sporadic entries like these. Observe that there seem to be a Warning message followed by and Error, in the below case after about 10 minutes. Any idea?

<Jun 16, 2014 10:55:36 AM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 10.39.148.198:55,508 during the configured idle timeout of 5 seconds.>

<Jun 16, 2014 11:04:56 AM CDT> <Error> <org.apache.myfaces.trinidad.webapp.ResourceServlet> <BEA-000000> <An Exception occured in ResourceServlet.service().

  request.pathTranslated:null

  request.requestURI:/AccessSystem12c/adf/styles/cache/skyros-v1-desktop-q4589n--d-ie-9.0-d-ltr-d--s-n-c.css

  FacesContext: org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit@3852effd

  ServletContext: ServletContext@757600955[app:AccessSystem12c module:AccessSystem12c path:/AccessSystem12c spec-version:3.0]

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:93)

        at sun.nio.ch.IOUtil.write(IOUtil.java:65)

        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)

        at weblogic.socket.NIOSocketMuxer$NIOOutputStream.writeInternal(NIOSocketMuxer.java:1092)

        at weblogic.socket.NIOSocketMuxer$NIOOutputStream.write(NIOSocketMuxer.java:983)

        at weblogic.servlet.internal.ChunkOutput.writeChunkNoTransfer(ChunkOutput.java:629)

        at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:572)

        at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:459)

        at weblogic.servlet.internal.ChunkOutput$2.checkForFlush(ChunkOutput.java:686)

        at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:365)

        at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:152)

        at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:153)

        at org.apache.myfaces.trinidad.webapp.ResourceServlet._pipeBytes(ResourceServlet.java:536)

        at org.apache.myfaces.trinidad.webapp.ResourceServlet.doGet(ResourceServlet.java:234)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:739)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)

        at org.apache.myfaces.trinidad.webapp.ResourceServlet.service(ResourceServlet.java:170)

        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)

        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)

        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)

        at java.security.AccessController.doPrivileged(Native Method)

        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

>

<Jun 16, 2014 11:04:56 AM CDT> <Error> <HTTP> <BEA-101019> <[ServletContext@757600955[app:AccessSystem12c module:AccessSystem12c path:null spec-version:3.0]] Servlet failed with an IOException

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:93)

        at sun.nio.ch.IOUtil.write(IOUtil.java:65)

        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)

        Truncated. see log file for complete stacktrace

>

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 14 2014
Added on Jun 16 2014
5 comments
20,811 views