Getting below error when application making call with Exchange system.
08:57:48,644 [fault (self-tuning)’] [ ] [ ] [ ] ( web.impl.WebStandardImpl) ERROR – null: Problem retrieving input data:
java.net.ProtocolException: EOF after reading only: ‘0’ of: ‘989’ promised bytes, out of which at least: ‘0’ were already buffered <<<<<<<<<<<<<<<<<===============================
at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:86) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:189) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:254) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at com.pega.pegarules.web.impl.HttpUtilities.getPostBytes(HttpUtilities.java:585) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.impl.HttpUtilities.extractRequest(HttpUtilities.java:274) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:619) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:397) ~[prwebj2ee.jar:?]
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:129) ~[prbootstrap-api-7.4.0-185.jar:7.4.0-185]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[javax.servlet.javax.servlet-api.jar:3.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet.javax.servlet-api.jar:3.1.0]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3702) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3672) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328) ~[com.oracle.weblogic.security.subject.jar:12.2.1.3]
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) ~[com.oracle.weblogic.security.subject.jar:12.2.1.3]
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) ~[com.bea.core.utils.full.jar:12.2.1.3]
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) ~[com.bea.core.utils.full.jar:12.2.1.3]
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) ~[com.oracle.weblogic.work.jar:12.2.1.3]
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
[fault (self-tuning)’] [ ] [ ] [ ] ( web.impl.WebStandardImpl) ERROR – Servlet Exception occurred rendering diagnostics for client <<<<<<<<<<<<<<<<<===============================
javax.servlet.ServletException: java.lang.AssertionError: Assertion violated
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:302) ~[com.oracle.weblogic.servlet.jar:12.2.1.3] <<<<<<<<<<<<<<<<<===============================
at com.pega.pegarules.web.impl.WebStandardImpl.sendOutput(WebStandardImpl.java:907) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:431) ~[prwebj2ee.jar:?]
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-7.4.0-185.jar:7.4.0-185]
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:129) ~[prbootstrap-api-7.4.0-185.jar:7.4.0-185]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[javax.servlet.javax.servlet-api.jar:3.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet.javax.servlet-api.jar:3.1.0]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3702) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3672) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328) ~[com.oracle.weblogic.security.subject.jar:12.2.1.3]
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) ~[com.oracle.weblogic.security.subject.jar:12.2.1.3]
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) ~[com.bea.core.utils.full.jar:12.2.1.3]
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) ~[com.bea.core.utils.full.jar:12.2.1.3]
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) ~[com.oracle.weblogic.work.jar:12.2.1.3]
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) ~[com.bea.core.weblogic.workmanager.jar:12.2.1.3]
Caused by: java.lang.AssertionError: Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:58) ~[com.bea.core.utils.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2577) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2394) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.peekParameter(ServletRequestImpl.java:2643) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:331) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:633) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:287) ~[com.oracle.weblogic.servlet.jar:12.2.1.3]
FIX
If we are seeing the same behavior in any lower environment we suggest you increase this Post Timeout value to say 60 or more (maximum is 120) and see if you still get the exception. The default value is 30 seconds.
You can achieve the same from console as follows:
WLS Console: Servers>>>myserver>>>Protocols – – Http – – PostTimeOutSecs
Try increasing the POST timeout through the Admin Console, see the below URL for reference
http://download.oracle.com/docs/cd/E13222_01/wls/docs103/ConsoleHelp/pagehelp/Corecoreserverserverprotocolshttptitle.html
Increasing PostTimeOutSecs solve the issue .