You are here

Deploy portlet to WebSphere Portal Server inside RAD

on Sep 11, 2011

If you met this exception when add a portlet/EAR to WPS server by RAD WPS adapter (inside the Servers view):
 
The id=test-portlet already exists for stored standard portlet application Application Name not available for this Application in the XML element portlet-app test-portlet.
 
It means you should add id to the portlet-app portlet.xml, like:
 
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
        version="1.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
        id="test-portlet.war">