Issues Consuming ADF portlet in Webcenter

Hi,
We created an ADF page in the portlet producer and created a portlet entry. We used a webcenter consumer to consume the ADF portlet from the portlet producer.
On running the webcenter consumer the page is displayed as desired but on performing any action on the page, a blank JS popup message is displayed. Once this popup message displays nothing else can be performed on the screen and the browser tab has to be closed.
There are no logs at the server level.
The jdeveloper version is :11.1.1.6.0.
Can you please help us with this issue
Thanks and regards

Hi.
See into Oracle My Support. Remember (don't know exactly) that exists a Portlets problems with version 11.1.1.6 similar to your problem.
Probably you'll need to patch your WebCenter installation to 11.1.1.6.2
Regards.

Similar Messages

  • Error at runtime while consuming a portlet in webcenter application

    Hi,
    I am also facing the same issue.
    oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/WsrpPortletProducer0/ap/PortalContentBIReportsjspx_3715283e_0134_1000_8001_ac1801a53f3d.pxml not found
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getInternal(MDSPersistenceContext.java:649)
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:604)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:249)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:110)
    at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:300)
    at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:310)
    at oracle.portlet.client.containerimpl.PortletContainerImpl.getById(PortletContainerImpl.java:345)
    at oracle.portlet.client.containerimpl.PortletContainerImpl.getPortlet(PortletContainerImpl.java:267)
    at oracle.adfinternal.model.portlet.binding.PortletModelImpl.init(PortletModelImpl.java:380)
    at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.init(PortletBinding.java:1101)
    at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.init(ActivityPortletModelWrapper.java:112)
    at oracle.adf.model.portlet.binding.PortletBinding._initModel(PortletBinding.java:471)
    at oracle.adf.model.portlet.binding.PortletBinding.initModel(PortletBinding.java:913)
    at oracle.adf.model.portlet.binding.PortletBinding.getPortletModel(PortletBinding.java:541)
    at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:394)
    at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:330)
    at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:922)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3271)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:279)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:40)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:64)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    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:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/adf/portlet/WsrpPortletProducer0/ap/PortalContentBIReportsjspx_3715283e_0134_1000_8001_ac1801a53f3d.pxml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1341)
    at oracle.portlet.client.persistenceimpl.mds.MDSSessionWrapper.getBaseReadOnlyMO(MDSSessionWrapper.java:256)
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getInternal(MDSPersistenceContext.java:634)
    at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:604)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:249)
    at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:110
    But this file - /PortalContentBIReportsjspx_3715283e_0134_1000_8001_ac1801a53f3d.pxml exists in my local machine from where i am deploying. I have done the following things.
    1) there are no spaces between my project names
    2) I have also removed all unused producers from the mds folder in jdev.
    I feel that the MDS folder is not getting included while deploying , not sure.
    I am deploying the webcenter to a standalone WLS
    Can any one help me in this

    Hi Yannick,
    Thanks!!
    I was able to resolve it, actually there was a datasource mds-owsm which was being referred in my webcenter application and it was not targeted to the managed server where I was deploying the app, So once I added the target to include this managed server, the portlet was getting identified and getting consumed in my application.
    Quick question here I need to integrated BI presentation service in my webcenter, what will be the best way to do it and go about it?I had found an artcile in oracle docs but it is not working for me.Please suggest some better ways of doing this integration.
    Thanks for your help!!!

  • ADF Portlet on Webcenter

    Hi All,
    We have a ADF task flow in our webcenter application.
    1) Can we expose this taskflow as a portlet?
    2) Can we use the portlet in the same application?
    Thanks
    Atul

    Atul,
    On Webcenter framework - JSF task flow vs Portlet you can find a complete study on the (dis)advantages of both.
    The guideline I use myself is: Do we require the functionality in multiple portals of which one or more is not a WebCenter Portal?
    If so, use portlets (e.g. if you want to use the functionality in your WebCenter application and e.g. an Oracle Portal)
    Also, exposing the functionality to 'the world' could make you decide to implement a portlet.
    If you only need the functionality internally, in one or more applications that can consume task flows, implement it as task flow.
    That taskflow can be deployed as a library. If you attach that library to your application, you can use the task flow.
    Good luck,
    Rob

  • Problem consuming portlet of an ADF application into webcenter application

    Hi,
    I have created a simple ADF application with one JSF page having a document list task flow displaying some documents from UCM. I created a portlet out of it by Create Portlet Entry and deployed it onto integrated weblogic. Then i created a webcenter Application in which i created a single JSF page and dragged that registered portlet on to it.
    Problem is that Portlet runs fine standalone
    It also Gives the correct WSDL
    It was registered successfully
    But when i consumed that into my webcenter application, It given me Portlet Unavailable.
    Here is the stacktrace of my Jdeveloper log:
    Target URL -- http://127.0.0.1:7101/MyApplication/faces/PortletTest.jspx
    <MetadataResourceXmlImpl><parseBeans> ADFc: /META-INF/adfc-config.xml:
    <MetadataResourceXmlImpl><parseBeans> ADFc: Duplicate managed bean definition for 'task_flow_action_bean' detected.
    <GlobalConfiguratorImpl><init> Configurator services already initialized.
    <PortletApplicationImpl><log> Exception thrown in doFacesRequest:render
    java.lang.ClassCastException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
         at oracle.jbo.mom.DefinitionManager.getCurrentDefinitionContext(DefinitionManager.java:2447)
         at oracle.jbo.mom.DefinitionManager.findLoadedObject(DefinitionManager.java:2302)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:634)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
         at oracle.adf.model.BindingContext.initialize(BindingContext.java:374)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:221)
         at oracle.portlet.bridge.adf.lifecycle.ADFBindingBridgeLifecycleListenerImpl.onBeginRequest(ADFBindingBridgeLifecycleListenerImpl.java:94)
         at oracle.portlet.bridge.adf.context.ADFPortletExternalContextImpl.<init>(ADFPortletExternalContextImpl.java:225)
         at oracle.portlet.bridge.adf.context.ADFPortletFacesContextImpl.<init>(ADFPortletFacesContextImpl.java:40)
         at oracle.portlet.bridge.adf.context.ADFPortletFacesContextFactoryImpl.getFacesContext(ADFPortletFacesContextFactoryImpl.java:41)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
         at oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:56)
         at oracle.adfinternal.controller.application.model.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:70)
         at oracle.adfinternal.view.faces.portlet.ADFPortletFacesContextFactory.getFacesContext(ADFPortletFacesContextFactory.java:36)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.getFacesContext(BridgeImpl.java:989)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:535)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
         at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(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:421)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    <PortletApplicationImpl><logWithLevel> An internal error has occurred in method getMarkup.
    javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:502)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
         at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(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:421)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
         ... 55 more
    Nested Exception is javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
         at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(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:421)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <HTTPClientTransport><invoke> A request to the producer URL "http://10.193.166.125:7101/UCMTestWebApp/portlets/WSRP_v2_Markup_Service" resulted in a status 500 response with fault string "oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request". The fault code given was "ns0:OperationFailed". The producer generated a timestamp of 2010-12-08T06:42:02+0530 and associated the following stack trace with the fault message: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15310)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(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:421)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1411)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
         at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
         ... 44 more
    Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:502)
         at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
         at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
         at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
         ... 48 more
    Caused by: javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
         ... 55 more
    <ADFPortletServlet><process> oracle.adf.model.portlet.binding.PortletModelException
         at oracle.adfinternal.model.portlet.binding.IframeContentRequest$IframePortletModel.getPortletRendition(IframeContentRequest.java:402)
         at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:108)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.render(ADFPortletServlet.java:808)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:635)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:501)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.doGet(ADFPortletServlet.java:444)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:33)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:222)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:44)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:654)
         at oracle.portlet.client.service.pipeline.PipeContext.access$000(PipeContext.java:51)
         at oracle.portlet.client.service.pipeline.PipeContext$1.run(PipeContext.java:502)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:2779)
         at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1812)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:117)
         ... 22 more
    Caused by: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:141)
         at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:2611)
         ... 24 more
    Caused by: oracle.portlet.wsrp.v2.soap.OperationFailed
         at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:299)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:133)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:95)
         at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:194)
         at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:148)

    Hi All,
    Even I am trying to achieve something similar and get the same error.
    I created a simple JSR 286 portlet with view.jspx and edit.jspx in Portlet Producer Application. And trying to consume that portlet in WebCenter Portal Application using WSRP.
    The producer application gets deployed without any errors and I am able to register that application in WebCenter portal application using WSRP.
    I used the content presenter taskflow in Producer Application to grab a html from UCM. Consumed that (drag & drop) remote portlet in home.jspx of the Webcenter Portal Application.
    When I run the WebCenter Portal, I get this error on console and in browser:
    javax.portlet.faces.BridgeException: oracle.jbo.NoDefException: JBO-25002: Definition portletone.html.viewPageDef of type Form Binding Definition is not found.
    javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
    at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:675)
    at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:638)
    at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:274)
    at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
    Sometimes I don't see this error when I restart my WLS but the portlet doesn't display any content from UCM either.
    I am deploying the applications on Integrated Weblogic Server.
    Detail description of what my code is in this post: Error with content presenter task flow in Portlet Producer application
    Thanks,
    Win

  • Problem consuming ADF/Webcenter Portlet in Worskshop for as remote portlet

    hi,
    I am using Jdeveloper 11g and creating a portlet of a full fledged application with model and data control.
    I am consuming this portlet in Workshop for Weblogic 10gR3 as remote portlet through registering it as wsrp.
    The problem i am facing is the images doesn't get displayed..also the functionality like page navigation don't work!!
    The same portlet works fine in jdeveloper web center environment when consumed with same wsdl.
    Please help
    Regards
    Ajinkya.

    Hi,
    please try the WebCenter forum WebCenter Portal
    Frank

  • Consuming a Liferay portlet from WebCenter

    Hi all,
    I'm trying to consume the default Liferay "Hello World" portlet from WebCenter but keep on getting a null portlet instance when trying to drop the portlet on a jspx page.
    Any help would be greatly appreciated.
    Regards
    Antonis

    Hi Yannick,
    Exactly, i'm using WSRP to register the portlet. It registers successfully, it's only when you try to add the portlet to the page that you get a NPE.
    I have a customer requirement of integrating or even better migrating their portlets to WebCenter. Their Liferay portlets use Liferay APIs and custom security. How would you tackle this requirements?
    Thanks
    Antonis

  • Page definition is not found while running JSR286 portlet in WebCenter app

    Hi All,
    I have ADF application which has 3 different task flows 1. my service 2. my car 3. my bike.
    which I have placed into a single bounded task flow called repairTaskflow.
    I have created a JSR286 portlet out of a repairTaskflow. I am trying to consume it in an Webcenter application. When I place the portlet on to the page in Web center application
    and run the page. I see the following error in the console.
    oracle.jbo.NoDefException: JBO-25002: Definition ***.xxxx.view.pageDefs.applications_task_flow_applications_task_flow_CreateEmptyApplicationPageDef of type Form Binding Definition is not found.
         at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2703)
         at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2715)
         at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:292)
         at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:107)
         at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1624)
         at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:246)
         at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.getActivityBindingContainer(DataBindingActivityImpl.java:233)
         at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.beforeExecute(DataBindingActivityImpl.java:77)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:969)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:1002)
    Please find below the portlet.xml file
    <portlet-app version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <portlet id="adf_taskflow_WEB_INF_test_task_flow_xml">
            <description>test-task-flow</description>
            <portlet-name>test-task-flow</portlet-name>
            <display-name>test-task-flow</display-name>
            <portlet-class>oracle.portlet.bridge.adf.application.ADFBridgePortlet</portlet-class>
            <init-param>
                <name>javax.portlet.faces.defaultViewId.view</name>
                <value>/adf.task-flow?adf.tfDoc=/WEB-INF/adfp-portlet-bridge-container.xml&amp;adf.tfId=adfp-portlet-bridge-container&amp;_fragmentTaskFlowDoc=/WEB-INF/test-task-flow.xml&amp;_fragmentTaskFlowId=test-task-flow</value>
            </init-param>
            <supports>
                <mime-type>text/html</mime-type>
                <portlet-mode>VIEW</portlet-mode>
            </supports>
            <supported-locale>en</supported-locale>
            <portlet-info>
                <title>test-task-flow</title>
                <short-title>test-task-flow</short-title>
            </portlet-info>
            <security-role-ref>
                <role-name>valid-users</role-name>
            </security-role-ref>
            <container-runtime-option>
                <name>com.oracle.portlet.requireIFrame</name>
                <value>true</value>
            </container-runtime-option>
            <container-runtime-option>
                <name>com.oracle.portlet.minimumWsrpVersion</name>
                <value>2</value>
            </container-runtime-option>
        </portlet>
        <portlet id="adf_taskflow_WEB_INF_single_task_flow_definition_xml">
            <description>single-task-flow-definition</description>
            <portlet-name>single-task-flow-definition</portlet-name>
            <display-name>single-task-flow-definition</display-name>
            <portlet-class>oracle.portlet.bridge.adf.application.ADFBridgePortlet</portlet-class>
            <init-param>
                <name>javax.portlet.faces.defaultViewId.view</name>
                <value>/adf.task-flow?adf.tfDoc=/WEB-INF/adfp-portlet-bridge-container.xml&amp;adf.tfId=adfp-portlet-bridge-container&amp;_fragmentTaskFlowDoc=/WEB-INF/single-task-flow-definition.xml&amp;_fragmentTaskFlowId=single-task-flow-definition</value>
            </init-param>
            <supports>
                <mime-type>text/html</mime-type>
                <portlet-mode>VIEW</portlet-mode>
            </supports>
            <supported-locale>en</supported-locale>
            <portlet-info>
                <title>single-task-flow-definition</title>
                <short-title>single-task-flow-definition</short-title>
            </portlet-info>
            <container-runtime-option>
                <name>com.oracle.portlet.requireIFrame</name>
                <value>true</value>
            </container-runtime-option>
            <container-runtime-option>
                <name>com.oracle.portlet.minimumWsrpVersion</name>
                <value>2</value>
            </container-runtime-option>
        </portlet>
        <portlet id="adf_taskflow_WEB_INF_applications_task_flow_xml">
            <description>applications-task-flow</description>
            <portlet-name>applications-task-flow</portlet-name>
            <display-name>applications-task-flow</display-name>
            <portlet-class>oracle.portlet.bridge.adf.application.ADFBridgePortlet</portlet-class>
            <init-param>
                <name>javax.portlet.faces.defaultViewId.view</name>
                <value>/adf.task-flow?adf.tfDoc=/WEB-INF/adfp-portlet-bridge-container.xml&amp;adf.tfId=adfp-portlet-bridge-container&amp;_fragmentTaskFlowDoc=/WEB-INF/applications-task-flow.xml&amp;_fragmentTaskFlowId=applications-task-flow</value>
            </init-param>
            <supports>
                <mime-type>text/html</mime-type>
                <portlet-mode>VIEW</portlet-mode>
            </supports>
            <supported-locale>en</supported-locale>
            <portlet-info>
                <title>applications-task-flow</title>
                <short-title>applications-task-flow</short-title>
            </portlet-info>
            <container-runtime-option>
                <name>com.oracle.portlet.requireIFrame</name>
                <value>true</value>
            </container-runtime-option>
            <container-runtime-option>
                <name>com.oracle.portlet.minimumWsrpVersion</name>
                <value>2</value>
            </container-runtime-option>
        </portlet>
        <custom-portlet-mode>
            <portlet-mode>about</portlet-mode>
        </custom-portlet-mode>
        <custom-portlet-mode>
            <portlet-mode>config</portlet-mode>
        </custom-portlet-mode>
        <custom-portlet-mode>
            <portlet-mode>edit_defaults</portlet-mode>
        </custom-portlet-mode>
        <custom-portlet-mode>
            <portlet-mode>preview</portlet-mode>
        </custom-portlet-mode>
        <custom-portlet-mode>
            <portlet-mode>print</portlet-mode>
        </custom-portlet-mode>
    </portlet-app> In all the 3 task flow there is at least one method activity placed either as the default activity or part of activities.
    In service page taskflow the default activity is a method activity. If I convert the service-task-flow alone as a portlet, it failed. showing the similar error : pagedef not found.
    Then I created the portlet out of car task-flow whose default activity is a page. This time I can view the portlet, the car list page. Once I click create button on that page which again goes through a method activity, then it failed showing the error mentioned above
    It seems where ever there are method activities on the taskflow, the portlet cannot find the pagedef and its throwing error . I have cross checked the deployed war file and all the pagedef's are bundled into it.
    Any suggestions are much appreciated.
    Thanks,
    Morgan.
    Edited by: Morgan Freeman on Aug 19, 2011 3:27 AM
    Edited by: Morgan Freeman on Aug 19, 2011 3:30 AM
    Edited by: Morgan Freeman on Aug 19, 2011 6:02 AM

    Hi All,
    I solved this issue. The path of pagedef files was not recognized when I publish the taskflows as portlets. Though it runs when I place it as a region on jspx file.
    The folder structure where I placed pagedefs earlier was some thing like this in ViewController -> Application Resources
    com.mycomp.view.pagedefs
    When I wanted to consume the portlet in the portal application, all the pagedefs under this path were not visible to the portlet.
    Once I change the pagedef folder to the immediate folder after the Application Resources, it found all the pagedefs
    Now my folder structure in ViewController -> Application Resources
    view.pagedefs
    Is this a bug? or Am I missing some thing.
    Thanks,
    Morgan.

  • Java.lang.IllegalStateException error when consuming a portlet

    When attempting to consume a portlet within a Webcenter portlet the portlet briefly displays and then constantly refreshes. On each refresh the following error is being logged (the PPR number increments each time the portlet refreshes):
    *<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #35*
    java.lang.IllegalStateException: The expected request type is not the same as the current request type.
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:333)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
    We are using JDeveloper 11.1.1.6, WebCenter Portal - Framework 11.1.1.6.0.111214.0952
    The portlet being included includes a farily simple ADF Query and Table component. It was included as a ADF Rich Portlet.
    There was an earlier thread that seemed to have the same issue: consuming portlet get error <ADF_FACES-60096:Server Exception during PPR>
    It is marked as answered but the answer was a series of steps including stopping the portal, server, redeploying the portlet, and restarting. It also suggested deleting any unused bindings from the Executable section of the page. These steps failed to fix my issue.
    Has anyone else seen this issue and found a concrete fix for it?
    Thanks in advance.

    Hello again,
    I solved the problem.
    In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked.
    daniela

  • Problems with ADF portlet

    Hi All,
    I am evaluating Webcenter and Portlets, specifically ADF portlets. I followed Peter Moskovi's article on portletizing an ADF taskflow (http://pmoskovi.wordpress.com/2008/07/18/jsr-301-the-jsf-portlet-bridge/).
    This is an excellent demo to guide on creating a portlet from an ADF taskflow. This demo is for old webcenter with OC4J.
    I am working on the JDEV 5407 build with Webcenter externsions. The demo is still pretty accurate for Weblogic Portal (WLP).
    I was able to run and deploy my portlet app without any problem. It works find in a stand-alone server. However, I run into problems while consuming the portlet in my PORTAL app. I followed the demo and build the consumer app. Everything looks fine, but at runtime, I get "Portlet Unavailable Error".
    Has anyone else followed Peter's demo and built portal and portlets with Bulldog i.e. 5407 build? Did you have any issues integrating the portlet in the portal?
    I would appreciate any input.
    Thanks,
    --ajay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes! When I say PORTAL app, I was referring to a WebCenter application that consumes the portal.
    Thanks for your help in advance.
    --ajay                                                                                                                                                                                                                                                                                           

  • ADF portlets not that well supported

    Is it just me or are ADF portlets not that well supported in webcenter application?
    I am working on them for a few months now and i seem to get one problem after the other and most of them are related to ADF portlets.
    Oracle created the portlet bridge in order to create ADF portlets but why are their so many problems with the ADF portlets?
    Currently we are thinking on developing taskflows instead of portlets because some (not all) of our problems are solved with that but than we have to do some extra development offcourse...
    Some issues we are facing with adf portlets:
    Using popups in ADF portlets: we have created some portlets with a table and each row has a detail button that opens a popup. The popup is bigger than the original portlet so what happens... THe portlet does not stretch, it shows scrollbars instead. Not realy user friendly.
    When we create the same thing in a taskflow, the popup is rendered in the page instead of the "portlet".
    inter portlet communication
    Take a look at the documentation of webcenter and try to find one example of an ADF portlet that sends an update to another portlet. They always show examples of normal JSP portlets or the omniportlet.
    I've done a great deal to find it and i made it to work but their is also an issue involved with it... In order to set the navigation parameter we should have a reference to the actionResponse of the portlet and you only can get this with a full portlet refresh so no partial page rendering here.
    As it appears when you set the partialSubmit of a commandButton to false, the action or actionListener gets ignored in a portlet so the code that should normaly get the reference to the actionResponse never gets executed unless you set the partialSubmit to true but than the reference to the actionResponse is not valid.
    In normal adf application a partialSubmit to false will execute the action or actionListener so i guess it's a bug in the handling of the button.
    securityContext
    I know portlets all do have their own context but does the JSR 168 standard does not describe a way to pass the security roles from the consuming application to the portlet? As it appears, ADF portlets do not receive this information from their consuming application.
    Has anybody else faced these issues or got some others while working with ADF portlets? It seem like their is still a lot of work to do to have a good support for ADF portlets.

    But if you look at other frameworks it seems possible.
    I also worked with liferay and used icefaces as JSF framework. They seem to go together very well. It had a very nice way of handling IPC using ajax. No page parameters need to be set or no partialTriggers.
    For example i don't get why an ADF portlet MUST be rendered in an iframe. Why can't they think of another solution? I can't imagine i'm the first one who is facing these issues...
    For example the problem with the buttons. Am i the first one not using partial page submit on a button in an ADF portlet?
    Don't get me wrong. I'm not frustrated with it. I just want to know if their are other things i need to know about or if other people are also facing the same struggle as i do.
    Try explaining the customer why they should buy an expensive licence for something that is not really working. The problem i wrote down here are real life problems i'm facing with a customer. We can't afford going into production with these problems...

  • How to cosume BPEL worklist as a portlet in webcenter application

    Hi,
    Can someone guide me how to consume a BPEL worklist application as portlet in webcenter application. I have a BPEL process and have deployed it on BPEL Integration server installed on oracle apllication server. But how to proceed from here? The portlet should show all the tasks exactly as it appears in the worklist applction.
    Thanks
    Anand

    Thanks a lot Cappa. Those links were really helpful and I have completed the POC successfully by integrating my existing ADF application with WebCenter by following the steps mentioned in http://www.oracle.com/technetwork/developer-tools/jdev/ccset62-all-100884.html.
    Apart from the links you mentioned, Andrejus pointed to one of his blog entry on the same topic. Please find the same at http://andrejusb.blogspot.com/2009/12/producing-jsr-168-portlets-directly.html
    Now, the issue is it's very very slow and it's getting timeout most of the time. I'm getting concurrent modification exception also some times. Both the applications are running on the embedded server that comes with JDev. Have you ever come across it?
    Regards,
    Antony.

  • Error while consuming secured portlets

    Hi,
    We have the following usecase:
    - Producer - One taskflow which is given to anonymous role. Converted this task-flow to a portlet.
    - Consumer - We need to consume this portlet in another ADF application which is unsecured.
    Steps done:
    1) Created an ADF application with this taskflow and converted to portlet.
    2) Created a consumer application.
    3) In the consumer app, created a WSRP connection for this portlet (to register the producer).
    - In the "Configure Security Attributes" in the WSRP portlet producer wizard, we have selected the following:
    - Token Profile: WSS 1.0 SAML Token with Message Protection
    - Configuration: Default
    - Default user: anonymous
    4) Drag and drop the portlet on the consumer page and run.
    With this i am encountering the following exception:
    <WsmMessageLogger> <logSevere> Permissionjava.lang.Class required to switch the identity not granted to the resource. access denied (oracle.wsm.security.WSIdentityPermission resource=MyPortletConsumerApplication assert)
    <WsmMessageLogger> <logSevere> Error in sending the request.
    <WsmMessageLogger> <logSevere> Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss10-saml-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss10SamlWithCertsScenarioExecutor.
    <WsmMessageLogger> <logSevere> Failure in WS-Policy Execution due to exception.
    <WsmLogUtil> <log> Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.client, application=MyPortletConsumerApplication, composite=null, modelObj=default-service, policy=oracle/wss10_saml_token_with_message_protection_client_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss10-saml-with-certificates.
    oracle.wsm.common.sdk.WSMException: access denied (oracle.wsm.security.WSIdentityPermission resource=MyPortletConsumerApplication assert)
         at oracle.wsm.security.policy.scenario.executor.Wss10SamlWithCertsScenarioExecutor.sendRequest(Wss10SamlWithCertsScenarioExecutor.java:142)
         at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:598)
         at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
         at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:666)
         at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:342)
         at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:289)
    Caused by: oracle.wsm.security.SecurityException: access denied (oracle.wsm.security.WSIdentityPermission resource=MyPortletConsumerApplication assert)
         at oracle.wsm.security.policy.scenario.util.PermissionUtil.checkIdentityPermission(PermissionUtil.java:83)
         at oracle.wsm.security.policy.scenario.processor.WssSamlTokenProcessor.getUserNameWhenSubjectIgnoredAfterCheckingPermission(WssSamlTokenProcessor.java:385)
    Caused by: java.security.AccessControlException: access denied (oracle.wsm.security.WSIdentityPermission resource=MyPortletConsumerApplication assert)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:379)
    <PortletRenderer> <setErrorState> An error has occured for Portlet Binding portlet1.
    oracle.fabric.common.PolicyEnforcementException: access denied (oracle.wsm.security.WSIdentityPermission resource=MyPortletConsumerApplication assert)
         at oracle.fabric.common.AbstractSecurityInterceptor.processResult(AbstractSecurityInterceptor.java:239)
         at oracle.fabric.common.BindingSecurityInterceptor.processRequest(BindingSecurityInterceptor.java:95)
         at oracle.integration.platform.common.InterceptorChainImpl$1.run(InterceptorChainImpl.java:187)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    Also where can i find a proper documentation about portlet security and consuming secured portlets?

    Hello
    Did you resolved this?
    I've deployed 11.1.1.6.0 and applied patch 14361677.
    I've deployed my portlet to a custom portal and using EM, attached the WSS 1.0 SAML Token with Message Protection Service policy. I registered the WRSP portlet and specified WSS 1.0 SAML Token with Message Protection under the security section.
    The portlet works fine in composer - it's when I save the page that I am finding problems.
    Once I saved the page and try to stress test the portlet (i.e., press the button twice for instance), an error page is displayed indicating a time out.
    If I navigate to another page and return to my page, the portlet does not render.
    When I log out of WebCenter, the exception described in your post is thrown.
    It would be great if Oracle provided documentation we are looking for.

  • Errors while consuming secured portlet on anonymous user

    Hello,
    I'm trying to configure security end-to-end Portlet as in this link http://fusionsecurity.blogspot.com/2010/09/hands-on-wsrp-security-in-oracle-fusion_04.html.
    I got WSRP security with authenticated users, but when I try to consume the portlet on anonymous users (unauthenticated), I receive the error below:
    Caused By: javax.xml.rpc.soap.SOAPFaultException: FailedAuthentication : The security token cannot be authenticated.
                    at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:669)
                    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:475)
                    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:149)
                    at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub.initCookie(WSRP_v2_Markup_Binding_SOAP_Stub.java:343)
                    at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.initCookie(WSRP_v2_Markup_PortTypeJaxbToSoap.java:671)
                    at oracle.portlet.wsrp.v2.ServerToWSRPv2.initCookie(ServerToWSRPv2.java:22225)
                    at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.initCookie(ActivityServerWrapper.java:1125)
                    at oracle.portlet.client.techimpl.wsrp.WSRPInitCookiePipe.execute(WSRPInitCookiePipe.java:130)
                    … more
    We have the following usecase:
    1) Created an ADF application with one JSP page and converted to portlet.
    2) Created a consumer application (Webcenter Portal Framework Application).
    3) In the consumer app, created a WSRP connection for this portlet (to register the producer).
    - In the "Configure Security Attributes" in the WSRP portlet producer wizard, we have selected the following:
    - Token Profile: WSS 1.0 SAML Token with Message Protection
    - Configuration: Default
    - Default user: anonymous
    4) Drag and drop the portlet on the consumer page and run.
    Would anyone tell me how do I set the permission for an anonymous user?
    Thanks.

    Hi Bijesh,
    Yes, I have tried not specifying a default user and I got the error below:
    <Feb 3, 2015 2:53:48 PM BRST> <Notice> <Stdout> <BEA-000000> <<Feb 3, 2015 2:53:48 PM BRST> <Error> <oracle.wsm.resources.security> <WSM-00008> <Web service authentication failed.
    javax.security.auth.login.LoginException: wsrp:minimal
                    at oracle.security.jps.internal.jaas.module.saml.JpsAbstractSAMLLoginModule.login(JpsAbstractSAMLLoginModule.java:127)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
                    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
                    at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
                    at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
                    at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
                    at oracle.wsm.security.jps.JpsManager.authenticate(JpsManager.java:184)
                    at oracle.wsm.security.jps.JpsManager.samlAuthenticate(JpsManager.java:325)
    Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User wsrp:minimal javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User wsrp:minimal denied
                    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
                    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
                    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
                    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
                    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
                    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
                    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    I’ve set ADF Security for my Portlet Application following the steps below:
    Create an Enterprise Role ‘Participante’. (The authenticated user has this group 'Participante' in LDAP)
    Create an Application Role ‘participante-role’ and map to the enterprise role ‘Participante’.
    Assign ‘participante-role’ to Web Page or Task Flow in Resources Grants.
    Those steps work well when I am using Task Flows. If I use Portlets based on Page instead of Task Flow, the security does not work.
    I have already tested the second option (create a guest user). The problem here is that the user has the authenticated-role associated to it.
    Thanks for help.

  • Download issue in a portlet page

    Hi,
    We have the following download issue in the portlet: Download works in an expected way in a standalone application, but fails when trying to do the same from a portlet.
    1. We have a blob column in a table (Oracle 10g db), and we have uploaded files into the blob column through the JSF page using Trinidad my faces application.(using JSF + BC4J) in Jdeveloper 11g
    2. We have an another JSF page which would list files uploaded, with the file names being hyperlinked, so that the user can click on the file name to download the file.
    3. When we try to download the file, it works fine in a standalone OC4J, but fails with the error in a portlet :
    4. We have portletized the download page and deployed the entire application as WSRP provider enabled portlet application onto embedded Webcenter OC4J.
    5. When we tried to download the file, by clicking on the file name link in the download page (which is part of the portlet), we ge the error as given below:
    Is it an issue with the portletization ? Can you please provide pointers to resolve the issue ? Is it the same limitation as any portal application wherein for download, we need to go outside the portal, that means, we have to explicitly call servlet to flush the file content onto the outputstream ? If this is the workaround, then please let us know how this can be accomplished in the above scenario.
    Thanks and Best Regards, nattu

    Please find the stack trace, which was missed in the original post :
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: found action_id = null
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /Incidents.jspx
    08/02/12 14:42:01 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:01 Received RenderParams:
    08/02/12 14:42:01 logMap completed
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: found action_id = null
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /ListIncidents.jspx
    08/02/12 14:42:01 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:01 Received RenderParams:
    08/02/12 14:42:01 logMap completed
    08/02/12 14:42:02 PortletExternalContextImpl.getViewId: found action_id = null
    08/02/12 14:42:02 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /Locations.jspx
    08/02/12 14:42:02 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:02 Received RenderParams:
    08/02/12 14:42:02 logMap completed
    08/02/12 14:42:02 PortletExternalContextImpl.getViewId: found action_id = /SearchLocationBCDR.jspx
    08/02/12 14:42:02 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:02 Received RenderParams:
    08/02/12 14:42:02 Map entry: ACTIONID value:/SearchLocationBCDR.jspx
    08/02/12 14:42:02 Map entry: adf.winId   value:10621624244
    08/02/12 14:42:02 Map entry: adf.ctrl-state   value:10621624243
    08/02/12 14:42:02 logMap completed
    08/02/12 14:42:07 PortletExternalContextImpl.getViewId: found action_id = /SearchLocationBCDR.jspx
    08/02/12 14:42:07 ADFPortletExternalContextImpl.<init>: skinId=null ;stylesheetId=null
    08/02/12 14:42:07 Received ActionParams:
    08/02/12 14:42:07 Map entry: ACTIONID value:/SearchLocationBCDR.jspx
    08/02/12 14:42:07 Map entry: adf.winId   value:10621624244
    08/02/12 14:42:07 Map entry: adf.ctrl-state   value:10621624243
    08/02/12 14:42:07 Map entry: adfpportlet_binding_id value:continuitySearchLocationBCDRjspx1_1
    08/02/12 14:42:07 Map entry: table1:rangeStart value:0
    08/02/12 14:42:07 Map entry: adfpiframe_dtd value:loose#
    08/02/12 14:42:07 Map entry: j_id__ctru5 value:
    08/02/12 14:42:07 Map entry: org.apache.myfaces.trinidad.faces.FORM value:form1
    08/02/12 14:42:07 Map entry: javax.faces.ViewState value:!3
    08/02/12 14:42:07 Map entry: adfppage_def_name value:/Flow1.jspx
    08/02/12 14:42:07 Map entry: source value:table1:4:commandLink1
    08/02/12 14:42:07 Map entry: table1:selected value:5
    08/02/12 14:42:07 Map entry: adfpfaces_form_id value:j_id__ctru2
    08/02/12 14:42:07 Map entry: adfpportlet_component_id value:portlet4
    08/02/12 14:42:07 logMap completed
    08/02/12 14:42:07 WARNING: Exception thrown in doFacesRequest:action
    javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
         at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
         at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at view.util.FileOperations.downloadFile(FileOperations.java:47)
         at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 52 more
    08/02/12 14:42:07 WARNING: An internal error has occurred in method performBlockingInteraction
    javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:284)
         at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
         at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.portlet.faces.BridgeException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:267)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
         ... 41 more
    Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at view.util.FileOperations.downloadFile(FileOperations.java:47)
         at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
         ... 42 more
    Nested Exception is javax.portlet.faces.BridgeException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:267)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
         at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
         at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at view.util.FileOperations.downloadFile(FileOperations.java:47)
         at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
         ... 42 more

  • Portlet inside Webcenter Framework Application

    Hi,
    I need to implement portlet functionality of editing and moving around components in my webcenterframework application. i went through the cue cards, and all possible oracle documents. i am not able to figure it out. Able to follow till registering portlet in the webcenter framework application. But where to write the logic/code of what content we want inside portlet.?
    For example say i have testFramework webcenter framework application and portletproducer application testPortlet. Inside the myPage.jspx present in testFramework application after importing the portlets i created, Where to write in the code. and i need to cal/invoke webservices from myPage.jspx to display the response in the Portlets. so Where Should i have to create the pages? In which application? How to Go about it.. Can i Please get some links or blogs to go about this or sample application?
    Thank You

    If you are using WebCenter, then instead of creating a portlet you can just create regular ADF Taskflows, and then dynamically add them to your pages with the webcenter runtime customization functionality.
    See for example the lab here: http://www.oracle.com/technetwork/community/developer-day/vdd-oracle-fusion-dev-day-1725597.html
    If you are creating a portlet in WebCenter then you need to write the code behind it. Again you can create a regular ADF page that consumes a Web service for example and then expose it as a portlet - if you need to use it outside of WebCenter.

Maybe you are looking for