Error when publishing portlet from Rational Application Developer: EJPPG0024I: Web application not registered with portal

Technote (troubleshooting)


Problem(Abstract)

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.

Symptom

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.

Cause

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.

Environment

Rational Application Developer 7.5
and WebSphere Portal Server 6.1

Diagnosing the problem


  1. 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">
  2. 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">
       <wb-module deploy-name="FooBar">
          ...
          <property name="context-root" value="
    .Foobar"/>

Resolving the problem

Create a new portlet project with a different name than the existing ones.

Related information

Portal wp.pe.rt.impl Messages

Rate this page:

(0 users)Average rating

Document information


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, 7.5.5.1

Operating system(s):

Windows

Reference #:

1446057

Modified date:

2010-09-22

Translate my page

Machine Translation

Content navigation