IBM Support

EJPPC0103E: Error occurred while initializing portlet java.util.MissingResourceException: Can't find bundle for base name com. for portlets when deploying on WebSphere Portal 6.1

Troubleshooting


Problem

When deploying JSR 168 Portlets on WebSphere® Portal 6.1, the following error occurs: LanguageSetIm E com.ibm.ws.portletcontainer.om.common.impl.LanguageSetImpl loadResourceBundle EJPPC0103E: Error occurred while initializing portlet java.util.MissingResourceException: Can't find bundle for base name com.ibm.testportletspace.nl.TestPortletSpacePortletResource , locale en at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:853)

Symptom

A portlet installs but does not initialize. When you place a portlet on a page, you see the message that this portlet is temporarily unavailable.

Cause

This error occurs when the resource-bundle entry in the portlet.xml file needs modification.

Resolving The Problem

In your portlet.xml file, you have a line like the following:

<resource-bundle>

    com.ibm.testportletspace.nl.TestPortletSpacePortletResource
</resource-bundle>

Change that line to read as follows, as one line:

<resource-bundle>com.ibm.testportletspace.nl.TestPortletSpacePortletResource</resource-bundle>



Then uninstall and reinstall the portlet, or update the preserve configuration settings option in the DeploymentService resource provider.

Refer to the WebSphere Portal Information Center for more information on setting those settings.

[{"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Application Development","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

swg21319531