An OmniPortlet Associated to an External Application shows Error: Portlet Unavailable (Doc ID 1101961.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter - Version: 11.1.1.2.0 to 11.1.1.2.0
Information in this document applies to any platform.

Symptoms


An OmniPortlet associated to an External Application shows the following error:


Portlet Unavailable


STEPS

The issue can be reproduced at will with the following steps:

  1. Register an External Application.

  2. Register OmniPortlet associating the provider with the External Application.

  3. Add an OmniPortlet to a page.

  4. Define the OmniPortlet.
    On displaying the OmniPortlet it shows the above error.

The WLS Log shows the following error:


<PortletRenderer><preRender> oracle.adf.model.portlet.binding.PortletModelException: Unable to get portlet response (Internal Error) for portlet binding OmniPortlet2_1.
at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1089)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:108)
at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.preRender(PortletRenderer.java:970)
at oracle.adfinternal.view.faces.renderkit.rich.customizable.ShowDetailFrameRenderer.encodeAll(ShowDetailFrameRenderer.java:677)
...

Caused by: oracle.portlet.client.extapp.ExternalAppException: oracle.adf.extapp.exception.ExtAppAuthorizationException: user anonymous not authorized to access external application TestPage
at oracle.portlet.client.adapter.adf.extapp.ADFExternalAppAdapter.getApplication(ADFExternalAppAdapter.java:216)
at oracle.portlet.client.techimpl.web.WebProducerInitSessionPipe.pre(WebProducerInitSessionPipe.java:76)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:644)
at oracle.portlet.client.service.pipeline.PipeContext.access$000(PipeContext.java:51)
at oracle.portlet.client.service.pipeline.PipeContext$1.run(PipeContext.java:495)
...

Cause

Sign In with your My Oracle Support account

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

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