Migrating Web and portlet deployment descriptor files

  1. In the Navigator view, edit the Web deployment descriptor (Web Content/WEB-INF/web.xml) and perform the following steps:
    1. On the Design tab, remove the HATSAdminServlet servlet (if present) and servlet mapping.
    2. On the Design tab, remove yourportlet servlet mapping only. Do not remove the servlet for yourportlet. This is done automatically in a later step.
    3. Save the modified web.xml file.
  2. Convert the portlet deployment descriptor (Web Content/WEB-INF/portlet.xml) using the following steps:
    1. Refer to the "Converting portlets to JSR 168 portlet API" section in the Rational® Application Developer documentation at https://www.ibm.com/docs/en/rational-soft-arch/9.7.0?topic=portlets-converting-jsr-168-portlet-api.
    2. Open the Portlets tab of the portlet.xml file, select the portlet from the list of available portlets on the left. Find the field labeled Portlet class: on the right and click Browse to select the appropriate entry portlet class. Add the Jsr286EntryPortlet or Jsr168EntryPortlet, as appropriate.