Error when publishing portlet from Rational Application Developer: EJPPG0024I: Web application not registered with portal
The following error message is shown when publishing a portlet project from IBM Rational Application Developer version 7.5 to IBM WebSphere Portal Server version 6.1: EJPPG0024I: Web application with context root ./FooBar is deployed in the application server but not registered with portal.
The view Console and the file
<PORTALHOME>\wp_profile\logs\SystemOut.log contain the following error message:
EJPPG0024I: Web application with context root /.FooBar is deployed in the application server but not registered with portal.
You have copied a portlet project.
This is not a supported use case since it is not mentioned in the help of Rational Application Developer.
Rational Application Developer 7.5
and WebSphere Portal Server 6.1
Diagnosing the problem
- The portlet-app identifier within portlet.xml occurs also in another portlet
Check all the portlet projects which you have published on the WebSphere Portal Server.
All portlets published should have a unique identifier.
Thus the portlet.xml should not contain duplicate identifiers within the id attribute of the portlet-app XML tag:
<portlet-app ... id="com.ibm.foobar.FooBar.1eb01b1da2">
- Check within all the portlet projects the file .settings/org.eclipse.wst.common.component. This file should contain a property context-root which is unique across all portlet projects.
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">.Foobar"/>
<property name="context-root" value="
Resolving the problem
Create a new portlet project with a different name than the existing ones.
More support for:
Rational Application Developer for WebSphere Software
Portal / Portlet Development
Software version: 7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 22.214.171.124
Operating system(s): Windows
Reference #: 1446057
Modified date: 22 September 2010
Translate this page: