Forum Stats

  • 3,826,663 Users
  • 2,260,687 Discussions
  • 7,897,044 Comments

Discussions

ADF Application Crashing in Production Instance

User_89YF7
User_89YF7 Member Posts: 58 Green Ribbon

Hi Team,

I'm using Jdev 12.2.1.3.0. My application is working fine in my local jdev and also Other Instances like (DEV,TEST and PRE).But it is crashing only in Production Instance. I don't see any Bean name and ADF BC names in the log. Please do check and let me know what is the root cause of the below and what else to be done to fix them.

The below are logs, shared by the DBA. I'm sharing only which has ERROR Tag

#1.

[2022-05-17T13:51:07.788-05:00] [iwarprod_server4] [ERROR] [] 

[oracle.adfinternal.view.faces.renderkit.rich.PanelTabBaseRenderer] 

[tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] 

[userId: paul.stock] [ecid: 82633a4a-234c-4379-a2b3-bdc317745514-00000759,0]

 [APP: iWarrantyApplicationR2] [partition-name: DOMAIN] [tenant-name: GLOBAL] 

 [DSID: 0000O3JIfE77i4uLsa^AyX1YWyK2000008] ContentDelivery=immediate is not supported outside of attachment mode.

#2.

2022-05-17T13:49:13.978-05:00] [iwarprod_server4] [ERROR] [ADFC-50018] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 82633a4a-234c-4379-a2b3-bdc317745514-00000705,0] [APP: iWarrantyApplicationR2] [partition-name: DOMAIN] [tenant-name: GLOBAL] ADFc: No exception handler was found for an application exception.[[

javax.faces.FacesException: javax.servlet.ServletException: java.io.IOException: Connection reset by peer

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:645)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)

at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)

at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:153)

at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)

at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)

at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:322)

at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager._processViewDefinitionLanguage(ResponseRenderManager.java:105)

at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:41)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1264)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeRenderResponse(LifecycleImpl.java:1107)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:258)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:651)

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

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

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

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

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

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

at com.wipro.ewarranty.view.adf.sample.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:85)

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

at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:207)

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

at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)

at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)

at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

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

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:169)

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

at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

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

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

at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

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

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

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

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

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

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

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

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

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

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

at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)

at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

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

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

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

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

at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705)

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

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

at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)

at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)

at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)

at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)

at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)

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

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

Caused by: javax.servlet.ServletException: java.io.IOException: Connection reset by peer

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

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

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

at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:631)

at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:287)

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:643)

... 71 more

Caused by: 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:469)

at weblogic.socket.NIOOutputStream$BlockingWriter.write(NIOOutputStream.java:326)

at weblogic.socket.NIOOutputStream.write(NIOOutputStream.java:220)

at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:278)

at weblogic.servlet.internal.ServletOutputStreamImpl.writeHeader(ServletOutputStreamImpl.java:205)

at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:496)

at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1491)

at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:325)

at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:150)

at weblogic.servlet.internal.ServletResponseImpl.flushBuffer(ServletResponseImpl.java:217)

at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:215)

at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:215)

at weblogic.servlet.internal.DelegateChunkWriter.flush(DelegateChunkWriter.java:134)

at weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:207)

at weblogic.servlet.jsp.JspWriterImpl.flush(JspWriterImpl.java:99)

at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:181)

at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)

at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:263)

at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)

at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)

at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)

at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:425)

at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:845)

at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:760)

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

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

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

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

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

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

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

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:169)

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

at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

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

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

at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

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

... 76 more


]]

[2022-05-17T13:49:13.979-05:00] [iwarprod_server4] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 82633a4a-234c-4379-a2b3-bdc317745514-00000705,0] [APP: iWarrantyApplicationR2] [partition-name: DOMAIN] [tenant-name: GLOBAL] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6[[

javax.faces.FacesException: javax.servlet.ServletException: java.io.IOException: Connection reset by peer

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:645)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:96)

at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)

at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)

at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:153)

at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)

at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)

at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:322)

at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager._processViewDefinitionLanguage(ResponseRenderManager.java:105)

at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:41)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1264)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeRenderResponse(LifecycleImpl.java:1107)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:258)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:651)

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

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

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

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

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

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

at com.wipro.ewarranty.view.adf.sample.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:85)

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

at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:207)

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

at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)

at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)

at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

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

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:169)

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

at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

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

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

at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

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

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

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

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

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

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

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

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

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

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

at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)

at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

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

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

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

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

at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705)

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

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

at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)

at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)

at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)

at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)

at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)

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

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

Caused by: javax.servlet.ServletException: java.io.IOException: Connection reset by peer

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

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

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

at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:631)

at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:287)

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:643)

... 71 more

Caused by: 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:469)

at weblogic.socket.NIOOutputStream$BlockingWriter.write(NIOOutputStream.java:326)

at weblogic.socket.NIOOutputStream.write(NIOOutputStream.java:220)

at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:278)

at weblogic.servlet.internal.ServletOutputStreamImpl.writeHeader(ServletOutputStreamImpl.java:205)

at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:496)

at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1491)

at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:325)

at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:150)

at weblogic.servlet.internal.ServletResponseImpl.flushBuffer(ServletResponseImpl.java:217)

at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:215)

at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:215)

at weblogic.servlet.internal.DelegateChunkWriter.flush(DelegateChunkWriter.java:134)

at weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:207)

at weblogic.servlet.jsp.JspWriterImpl.flush(JspWriterImpl.java:99)

at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:181)

at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)

at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:263)

at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)

at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)

at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)

at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:425)

at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:845)

at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:760)

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

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

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

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

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

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

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

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:169)

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

at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

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

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

at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

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

... 76 more

«1

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,458 Red Diamond

    For #1

    you need to find out exactly which part of the page produced the error. My first try would be to search the code of the page (and all regions used) for 'contentDelivery= "immediate"' If you don't find anything try to search for 'immediate'. Once you've found something, change the contentDelivery property to something else and test again.

    If you don't find anything in the above search you can try to find the right component or layout container by removing stuff from the page. Once you know the exact component try to change the content delivery part.

    For #2

    You get this message if a user requested a page (or a file for download) and did not wait for the response but closed the browser or tab. Nothing needs to be done here. The message only tells you that the response could not be delivered to the client.


    Timo

  • User_89YF7
    User_89YF7 Member Posts: 58 Green Ribbon

    @Timo Hahn :

    Thanks Timo for the suggestion.

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown

    ContentDelivery=immediate is not supported outside of attachment mode.

    Timo's suggestion may not apply as sometimes ContentDelivery="immediate" is forced, especially in Attachment mode. Due to a bug, it may be getting set to "immediate" even though not in Attachment mode as noted at https://community.oracle.com/tech/developers/discussion/4129799/adf-errore-in-log-contentdelivery-immediate-is-not-supported-outside-of-attachment-mode ; please submit a bug report.

  • User_89YF7
    User_89YF7 Member Posts: 58 Green Ribbon

    Hi Timo,

    could you please help me with the below, what is the root Cause for the error:

    <May 27, 2022 2:13:37,370 PM CDT> <Warning> <oracle.jbo.server.ApplicationModuleImpl> <BEA-000000> <

    java.lang.NullPointerException

    at oracle.jbo.server.DBTransactionImpl.disconnectApplicationModule(DBTransactionImpl.java:5749)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolDisconnect(ApplicationPoolMessageHandler.java:611)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:439)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9958)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4614)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2503)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2299)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3212)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:606)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:224)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:539)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:534)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:646)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:1019)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:500)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1754)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:289)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1437)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1917)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1779)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1739)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1572)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1520)

    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:86)

    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:115)

    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2818)

    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2870)

    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:119)

    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:341)

    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1533)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1669)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2845)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2779)

    at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3721)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:588)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:538)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:666)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.lookupAttributeDef(JUCtrlValueBinding.java:637)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.internalGet(JUCtrlValueBinding.java:4259)

    at oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:53)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlCoreBinding.getProtectionStateHintValue(FacesCtrlCoreBinding.java:122)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlCoreBinding._calculateProtectionKey(FacesCtrlCoreBinding.java:166)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlCoreBinding._setupCoreState(FacesCtrlCoreBinding.java:74)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlCoreBinding.setupCoreState(FacesCtrlCoreBinding.java:63)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding._registerBindingWithActiveModel(FacesCtrlAttrsBinding.java:248)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:213)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2549)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:343)

    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:784)

    at javax.el.MapELResolver.getValue(MapELResolver.java:199)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:139)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:203)

    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)

    at org.apache.myfaces.trinidad.component.UIXFacesBeanImpl.getBoundProperty(UIXFacesBeanImpl.java:203)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:69)

    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:195)

    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:155)

    at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:129)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:541)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1300(PanelGroupLayoutRenderer.java:30)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:733)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:661)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:374)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:463)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1600(PanelGroupLayoutRenderer.java:30)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:769)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:661)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:374)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderToolbarCell(PanelHeaderRenderer.java:1117)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.access$800(PanelHeaderRenderer.java:47)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$MenuBarComponentProcessor.processComponent(PanelHeaderRenderer.java:1788)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$ToolbarComponentProcessor.processComponent(PanelHeaderRenderer.java:1776)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$ToolbarComponentProcessor.processComponent(PanelHeaderRenderer.java:1755)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)

    at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.processFlattenedChildren(IncludeTag.java:730)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:173)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:88)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderTools(PanelHeaderRenderer.java:1094)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._encodeHeaderContentCell(PanelHeaderRenderer.java:934)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderHeaderRow(PanelHeaderRenderer.java:872)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:313)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:463)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1600(PanelGroupLayoutRenderer.java:30)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:769)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:661)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:374)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeTopFacet(PanelStretchLayoutRenderer.java:899)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeHorizontalPane(PanelStretchLayoutRenderer.java:1410)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:300)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:677)

    at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3310)

    at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:68)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:677)

    at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3310)

    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:270)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:677)

    at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3310)

    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1355)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1651)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1231)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)

    at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:102)

    at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)

    at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:232)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1264)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeRenderResponse(LifecycleImpl.java:1107)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:258)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:651)

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

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

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

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

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

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

    at com.wipro.ewarranty.view.adf.sample.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:85)

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

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:207)

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

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

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

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:169)

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

    at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

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

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

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

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

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

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

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

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

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

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

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

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

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

    at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)

    at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

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

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

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

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

    at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705)

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

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

    at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)

    at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)

    at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)

    at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)

    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)

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

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

  • User_89YF7
    User_89YF7 Member Posts: 58 Green Ribbon

    @dvohra21:

    Many thanks for your suggestion.

  • User_89YF7
    User_89YF7 Member Posts: 58 Green Ribbon

    @dvohra21,@Timo Hahn :

    One more thing to confirm

    I tried to get the Principal from my managed bean but it was getting null sometimes.It is working fine in all environments but in PROD environment it is getting null sometimes.

    What could possibly cause the problem of getting NullpointerException in getExternalContext in FacesContext

    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();

            if (ectx.getUserPrincipal().getName() != null) {

     String userName = ectx.getUserPrincipal().getName();

    }

    Do I need to change anything to get the Principal ? Please do let me know your suggestions.

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,458 Red Diamond

    @User_89YF7 please open a new question for the new topic about the principal. It has nothing to do with the original question and disrupts the thread for this question.

    About the stacktrace

    <May 27, 2022 2:13:37,370 PM CDT> <Warning> <oracle.jbo.server.ApplicationModuleImpl> <BEA-000000>

    is this connected to the original question?

    If yes how?

    If not open a new question for it. In any case, we need more context about the problem. Just a stacktrace is not enough. Is it reproducible? When do you get it? As you get it only in production, we need to know how the production is configured (single node multiple managed server, sticky session,...).


    Timo

  • User_89YF7
    User_89YF7 Member Posts: 58 Green Ribbon
    edited May 31, 2022 7:59AM

    @Timo Hahn :

    Yes, it is connected to the same issue as I said before in the above PROD Crashing issue. The environment is a cluster.

    All these are in the same PROD logs shared by DBA

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,458 Red Diamond

    Does the cluster have 'sticky sessions' enabled?

    If not that's probably the cause of the problem. If a user starts a session on one node but after some time his requests are switched over to another node, you can get this kind of error (no principal, NPE while releasing an application module). If you need the failover, you must enable 'high availability' (HA) on the nodes and in your application. If you don't need the failover it's easier to use 'sticky sessions' as this ensures that a user keeps assigned to one server during a session.


    Timo

  • User_89YF7
    User_89YF7 Member Posts: 58 Green Ribbon
    edited May 31, 2022 9:28AM

    @Timo Hahn :

    Thanks Timo for the suggestion. Actually, I don't have any idea of the above sticky sessions. Could you please give me some references or blogs how to enable them ?

    Regarding the High Availability. I have enabled the below check box of High Availability for ADF Scopes in adf-config.xml