log.error("Failed to lookup portlet-definition: " + portletName);
log.debug("Available portlet-definitions: ");
Iterator iterator =
PortletDefinitionRegistry.getPortletApplicationDefinitionList().iterator();
while (iterator.hasNext()) {
PortletApplicationDefinition papp = (PortletApplicationDefinition) iterator.next();
// fill portletsKeyObjectId
Iterator portlets = papp.getPortletDefinitionList().iterator();
while (portlets.hasNext()) {
PortletDefinition portlet = (PortletDefinition) portlets.next();
log.debug("Ok: " + portlet.getId());
}