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.
Was this topic helpful?
Document Information
Modified date:
03 December 2021
UID
swg21395715