javax.servlet.ServletException

java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write

Solutions on the web1673

  • via icesoft.org by Unknown author, 1 year ago
    java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write
  • java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write
  • java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write
  • Stack trace

    • javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:175) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131) at com.ebla.correspondence.util.login.AuthenticationFilter.doFilter(AuthenticationFilter.java:53) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) at com.ebla.correspondence.util.filters.CharsetFilter.doFilter(CharsetFilter.java:25) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604) Caused by: java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write at com.icesoft.faces.context.View.servePage(View.java:136) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:55) at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:18) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153) ... 31 more Caused by: javax.faces.FacesException: Problem in renderResponse: OutputStream encountered error during write at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:296) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:114) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17) at com.icesoft.faces.context.View$2$1.respond(View.java:47) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:197) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36) at com.icesoft.faces.context.View$2.serve(View.java:72) at com.icesoft.faces.context.View.servePage(View.java:133) ... 42 more Caused by: com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:106) at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:97) at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(BufferedServletOutputStream.java:592) at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.write(BufferedServletOutputStream.java:376) at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:355) at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:416) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:159) at java.io.OutputStreamWriter.emptyBuffer(OutputStreamWriter.java:289) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:251) at java.io.Writer.write(Writer.java:151) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:148) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:119) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:103) at com.icesoft.faces.context.NormalModeSerializer.serialize(NormalModeSerializer.java:61) at com.icesoft.faces.context.BridgeFacesContext$SaveCurrentDocument.serialize(BridgeFacesContext.java:866) at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:187) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:285) ... 52 more Caused by: java.io.IOException: Async IO operation failed (1), reason: RC: 10054 An existing connection was forcibly closed by the remote host. at com.ibm.io.async.AsyncLibrary$IOExceptionCache.<init>(AsyncLibrary.java:891) at com.ibm.io.async.AsyncLibrary$IOExceptionCache.get(AsyncLibrary.java:904) at com.ibm.io.async.AsyncLibrary.getIOException(AsyncLibrary.java:918) at com.ibm.io.async.AbstractAsyncChannel.multiIO(AbstractAsyncChannel.java:473) at com.ibm.io.async.AsyncSocketChannelHelper.write(AsyncSocketChannelHelper.java:478) at com.ibm.ws.tcp.channel.impl.AioSocketIOChannel.writeAIOSync(AioSocketIOChannel.java:353) at com.ibm.ws.tcp.channel.impl.AioTCPWriteRequestContextImpl.processSyncWriteRequest(AioTCPWriteRequestContextImpl.java:123) at com.ibm.ws.tcp.channel.impl.TCPWriteRequestContextImpl.write(TCPWriteRequestContextImpl.java:122) at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.synchWrite(HttpServiceContextImpl.java:2476) at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.sendFullOutgoing(HttpServiceContextImpl.java:2250) at com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.finishResponseMessage(HttpInboundServiceContextImpl.java:1027) at com.ibm.ws.webcontainer.channel.WCChannelLink.finishBufferSynch(WCChannelLink.java:674) at com.ibm.ws.webcontainer.channel.WCChannelLink.finishBufferResponse(WCChannelLink.java:615) at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBuffer(WCChannelLink.java:462) at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.flushWriteBuffer(WCCByteBufferOutputStream.java:406) at com.ibm.ws.webcontainer.channel.WCCResponseImpl.flushBufferedContent(WCCResponseImpl.java:165) at com.ibm.ws.webcontainer.channel.WCCResponseImpl.finish(WCCResponseImpl.java:93) at com.ibm.ws.webcontainer.channel.WCChannelLink.releaseChannelLink(WCChannelLink.java:228) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:205) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    33 more bugmates