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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.