Portlet Unavailable Message For Custom Webcenter Application Referencing Portlets Deployed In The Same Weblogic Server Domain (Doc ID 1239883.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter - Version: 11.1.1.3.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

A custom WebCenter application which is deployed on a custom managed server "WLS_CustomApp" on WebLogic has several portlet references. These portlets are deployed on "WLS_Portlet" Managed Server in the same domain.
The custom application is not able to communicate with these portlets, though individual portlets are running fine. (Direct access to the JSP pages is working fine).

The error seen is :-

Portlet unavailable

During the custom WebCenter application deployment using JDeveloper, the portlet producer urls  have been updated to match the WLS_Portlet deployed one.


The following steps can be used to reproduce the issue :-
1. Create an ADF application and create the portlet entries. (JSF portlet bridge).
     It has only one jspx page with a output test displaying Hello World.
2. Deploy it to the JDeveloper embedded WebLogic Server
3. Create a WebCenter application, register the WSRP producer corresponding to the ADF portlet bridge application created in step 1.
4. Run the application -> It works fine.
5. Deploy the ADF Bridge portlet to the WebCenter WLS_Portlet managed server.
6. Deploy WebCenter application to the WebCenter WLS_APP managed server created for WebCenter Applications.

See: 38.3.2 Preparing the Target Environment for Deployment
http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_deploy.htm#CHDDCCFD

During the deployment, edit the associated Web service connection, which follows the naming convention connectionname-wsconn and change the url to point to the deployed portlet.

ADF_Portlet_Bridged_Producer_wsconn url changed to:
http://myhost:8889/ADF_Portelt_Bridge-ViewController-context-root/portlets/wsrp2?WSDL

7. Browse to the application:
http://myhost:8888/ADF_Portlet_Consumer-ViewController-context-root/faces/ADF_Portlet_consumer.jspx

The portlet doesn't display, it shows:

Portlet unavailable


8. Check the connections.xml file deployed with the WebCenter Application:
one WSRP portlet url has been changed to the correct one:

description="http://myhost:8889/ADF_Portelt_Bridge-ViewController-context-root/portlets/wsrp2?WSDL"


All others are still pointing to the embedded WebLogic server


Thee same reproduces with a WSRP portlet created using the portlet wizard.

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