IBM Support

EJPPG0017E and 'This portlet is not available.' when accessing Portlet Management administration portlets

Troubleshooting


Problem

In Portal Administration > Portlet Management, you see the following error []"This portlet is not available."[] when selecting any of these portlets: Web Modules Applications Portlets

Symptom


The Portal SystemOut.log contains these errors:

[6/10/09 10:45:03:735 CDT] 00000065 PortletContai E
com.ibm.wps.pe.pc.legacy.PortletContainerImpl performBeginEvents
EJPPG1122E: An error occurred during portlet event processing.
java.lang.RuntimeException: javax.portlet.UnavailableException:
WebApplication is not available
at
com.ibm.wps.pe.pc.legacy.factory.PortletObjectAccess.getPortletContext(P
ortletObjectAccess.java:86)
...
Caused by: javax.portlet.UnavailableException: WebApplication is not
available
...
Caused by: org.apache.pluto.PortletContainerException: EJPPG0017E: Web application for context root
/ab is unavailable.

Cause

Your Portal's context root was changed from the default wps to ab. However, the context root for the Portlet Manager application, which contains these three portlets, still contains the old value of wps.

Resolving The Problem


To resolve this issue, do the following:

1) Login to the WebSphere Application Server administrative console:



2) Go to Applications > Enterprise Applications and click on PA_Portlet_Manager.

3) Under Web Module Properties, click on Context Root for Web Modules

4) Update /wps/PA_Portlet_Manager to the correct context root of your portal, e.g. /ab/PA_Portlet_Manager

5) Click 'Apply' and 'Save'

Upon restarting the application you will be able to see the portlets.

[{"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Administration Portlets","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"Enable;Extend;Server;Express","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
03 December 2021

UID

swg21395715