OpenIG logs : java.io.IOException: Connection reset by peer

This topic has 0 replies, 1 voice, and was last updated 2 years, 2 months ago by nishad.t.

  • Author
    Posts
  • #21634
     nishad.t
    Participant

    I am getting the below error on OpenIG logs(catalina.out).

    18-Apr-2018 16:26:24.175 INFO [I/O dispatcher 52] org.apache.coyote.AbstractProcessor.setErrorState An error occurred in processing while on a non-container thread. The connection will be closed immediately
    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 org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:124)
    at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)
    at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:172)
    at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:139)
    at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:197)
    at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:177)
    at org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:740)
    at org.apache.coyote.Response.action(Response.java:179)
    at org.apache.coyote.Response.sendHeaders(Response.java:350)
    at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:335)
    at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
    at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
    at org.forgerock.http.protocol.Entity.copyRawContentTo(Entity.java:195)
    at org.forgerock.http.servlet.HttpFrameworkServlet.writeResponse(HttpFrameworkServlet.java:347)
    at org.forgerock.http.servlet.HttpFrameworkServlet.writeResponse(HttpFrameworkServlet.java:315)
    at org.forgerock.http.servlet.HttpFrameworkServlet.access$000(HttpFrameworkServlet.java:77)
    at org.forgerock.http.servlet.HttpFrameworkServlet$1.handleResult(HttpFrameworkServlet.java:227)
    at org.forgerock.http.servlet.HttpFrameworkServlet$1.handleResult(HttpFrameworkServlet.java:224)
    at org.forgerock.util.promise.PromiseImpl$2.handleStateChange(PromiseImpl.java:304)
    at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:521)
    at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:562)
    at org.forgerock.util.promise.PromiseImpl.tryHandleResult(PromiseImpl.java:265)
    at org.forgerock.util.promise.PromiseImpl.handleResult(PromiseImpl.java:215)
    at org.forgerock.openig.filter.RuntimeExceptionFilter$1.handleResult(RuntimeExceptionFilter.java:48)
    at org.forgerock.openig.filter.RuntimeExceptionFilter$1.handleResult(RuntimeExceptionFilter.java:45)
    at org.forgerock.util.promise.PromiseImpl$2.handleStateChange(PromiseImpl.java:304)
    at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:521)
    at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:562)
    at org.forgerock.util.promise.PromiseImpl.tryHandleResult(PromiseImpl.java:265)
    at org.forgerock.util.promise.PromiseImpl.handleResult(PromiseImpl.java:215)
    at org.forgerock.util.promise.Promises$CompletedPromise.thenOnResult(Promises.java:131)
    at org.forgerock.util.promise.PromiseImpl$7.callNestedPromise(PromiseImpl.java:460)
    at org.forgerock.util.promise.PromiseImpl$7.handleStateChange(PromiseImpl.java:445)
    at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:521)
    at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:562)
    at org.forgerock.util.promise.PromiseImpl.tryHandleResult(PromiseImpl.java:265)
    at org.forgerock.util.promise.PromiseImpl.handleResult(PromiseImpl.java:215)
    at org.forgerock.http.apache.async.AsyncHttpClient$1.failed(AsyncHttpClient.java:70)
    at org.apache.http.concurrent.BasicFuture.failed(BasicFuture.java:134)
    at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.failed(AbstractClientExchangeHandler.java:414)
    at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.exception(HttpAsyncRequestExecutor.java:152)
    at org.apache.http.impl.nio.client.InternalRequestExecutor.exception(InternalRequestExecutor.java:124)
    at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:278)
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
    at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:116)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
    at java.lang.Thread.run(Thread.java:745)

    Exception in thread “I/O dispatcher 53” java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2367)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:535)
    at java.lang.StringBuffer.append(StringBuffer.java:322)
    at java.io.StringWriter.write(StringWriter.java:94)
    at java.io.PrintWriter.write(PrintWriter.java:426)
    at org.forgerock.http.io.IO.stream(IO.java:299)
    at org.forgerock.http.protocol.Entity.copyDecodedContentTo(Entity.java:178)
    at org.forgerock.openig.decoration.capture.MessageCapture.writeEntity(MessageCapture.java:239)
    at org.forgerock.openig.decoration.capture.MessageCapture.captureResponseMessage(MessageCapture.java:209)
    at org.forgerock.openig.decoration.capture.MessageCapture.captureResponse(MessageCapture.java:183)
    at org.forgerock.openig.decoration.capture.MessageCapture.capture(MessageCapture.java:138)
    at org.forgerock.openig.decoration.capture.CaptureHandler$1.handleResult(CaptureHandler.java:68)
    at org.forgerock.openig.decoration.capture.CaptureHandler$1.handleResult(CaptureHandler.java:64)
    at org.forgerock.util.promise.PromiseImpl$2.handleStateChange(PromiseImpl.java:304)
    at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:521)
    at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:562)
    at org.forgerock.util.promise.PromiseImpl.tryHandleResult(PromiseImpl.java:265)
    at org.forgerock.util.promise.PromiseImpl.handleResult(PromiseImpl.java:215)
    at org.forgerock.openig.filter.RuntimeExceptionFilter$1.handleResult(RuntimeExceptionFilter.java:48)
    at org.forgerock.openig.filter.RuntimeExceptionFilter$1.handleResult(RuntimeExceptionFilter.java:45)
    at org.forgerock.util.promise.PromiseImpl$2.handleStateChange(PromiseImpl.java:304)
    at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:521)
    at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:562)
    at org.forgerock.util.promise.PromiseImpl.tryHandleResult(PromiseImpl.java:265)
    at org.forgerock.util.promise.PromiseImpl.handleResult(PromiseImpl.java:215)
    at org.forgerock.util.promise.Promises$CompletedPromise.thenOnResult(Promises.java:131)
    at org.forgerock.util.promise.PromiseImpl$7.callNestedPromise(PromiseImpl.java:460)
    at org.forgerock.util.promise.PromiseImpl$7.handleStateChange(PromiseImpl.java:445)
    at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:521)
    at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:562)

    Heap size is currently configured as 2GB. Please provide some inputs on this issue.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?