In order to install an individual portlet into your GridSphere portal, please execute the following steps:
You must first deploy the portlet WAR file to tomcat. If you have downloaded the binary distribution (the WAR file itself) of the portlet, simply copy the file into Tomcat's webapps directory:
> cp my-portlet.war $CATALINA_HOME/webapps/.
> cd my-portlet-src-1.0
> maven war:webapp -Dmaven.war.build.dir=$CATALINA_HOME/webapps
You must now inform gridsphere that the webapp you have deployed is a portlet application. To do this, log into your GridSphere portal as root and click on the "Administration" tab (if the "Portlets" submenu is not selected, please do so). Next, use the "Portlet Application Manager" to register the portlet webapp with GridSphere. To do this, enter the name of the portlet webapp (this will be the name of the portlet directory without the "src" or the version) in the form in the "Deploy new portlet webapp" fieldset and click the "Deploy" button.
Your portlet application is now deployed to tomcat and registered with GridSphere. The final step in the installation process is adding the portlet to the display of the portal. To do this, please refer to the OGCE2 documentation, which explains how to create portlet groups and display them on tabs in the portal.