Clustered Custom WebCenter Portal Failover Causes OperationFailedException Error When Clicking Submit in a Portlet (Doc ID 1468865.1)

Last updated on SEPTEMBER 12, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

1. Deploy a cluster environment of Custom Portal managed nodes (M1,M2)
2. Deployed a test custom ADF portlet across the above cluster and test for a failover scenario.
3. After stopping one of the managed node after the portlet is rendered and hitting the portlet submit button with out refreshing the entire page causes the error: "OperationFailedException:: Internal Server Error: doBridgeDispatch failed".
4. Refreshing the page resolves the problem.
    Here is an example stack trace of the error in the managed server diagnostic log:

[2012-06-15T14:09:59.728-07:00] [WC_Portlet2] [ERROR] [] [com.bea.wsrp.producer.i18n.ProducerLogger] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 11d1def534ea1be0:-3ff1fe3a:137f1d090f3:-8000-000000000000016e,0:1:1] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] [APP: weatherPortlet] [J2EE_MODULE.name: WeatherPortlets] [WEBSERVICE.name: WSRP_v2_Service] [J2EE_APP.name: weatherPortlet] [URI: /WeatherPortlets/portlets/WSRP_v2_Markup_Service] Internal Server Error:[[
javax.portlet.PortletException: doBridgeDispatch failed:  error from Bridge in executing the request
    at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:695)
    at javax.portlet.faces.GenericFacesPortlet.doActionDispatchInternal(GenericFacesPortlet.java:627)
    at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:287)
    at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:202)
    at portlet.LocationPortlet.processAction(LocationPortlet.java:49)
    at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:970)
    at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:100)
    at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:332)
    at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:716)
    at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.performInteraction(JavaPortletAdapter.java:358)
    at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doPerformBlockingInteraction(MarkupServiceHandler.java:938)
    at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:288)
    at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:252)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:209)
    at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:182)
    at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
    at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:443)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1122)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:234)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:37)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: javax.portlet.faces.BridgeException: javax.faces.application.ViewExpiredException: viewId:/LocationPortlet/html/view.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
    at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:409)
    at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:692)
    at javax.portlet.faces.GenericFacesPortlet.doActionDispatchInternal(GenericFacesPortlet.java:627)
    at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:287)
    at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:202)
    at portlet.LocationPortlet.processAction(LocationPortlet.java:48)
    at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:969)
    at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:99)
    at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:332)
    at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:713)
    at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.performInteraction(JavaPortletAdapter.java:358)
    at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doPerformBlockingInteraction(MarkupServiceHandler.java:938)
    at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:288)
    at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
    at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:182)
    at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
    at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1122)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:234)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
    ......
    Caused by: javax.faces.application.ViewExpiredException: viewId:/LocationPortlet/html/view.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:788)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:407)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:201)
    at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:345)
    at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:692)
    at javax.portlet.faces.GenericFacesPortlet.doActionDispatchInternal(GenericFacesPortlet.java:629)
    at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:288)
    at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:202)
    at portlet.LocationPortlet.processAction(LocationPortlet.java:49)
    at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:970)
    at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:100)
    at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:332)
    at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:716)
    at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.performInteraction(JavaPortletAdapter.java:358)
    at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doPerformBlockingInteraction(MarkupServiceHandler.java:938)
    at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:288)
    at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:252)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    .....

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms