Friday November 16, 2007 Here is how you uninstall OpenPortal WSRP and OpenPortal PortletContainer projects after successful installation without having to uninstall the whole glassfish application server. Recently I came across this issue since someone asked about it and this information was not available or documented anywhere.
Uninstall OpenPortal WSRP :
Upon successful install of OpenPortal WSRP, The installer would have created a 'wsrp' directory as <glassfish_install>/domains/domain1/wsrp. There is a setup.xml under this directory, invoking the 'uninstall-wsrp' ant target does the job. Here is the example
# ant -f setup.xml uninstall-wsrp.
Make sure you restart the glassfish application server after this.
Uninstall OpenPortal PortletContainer :
Similar instructions apply the OpenPortal PortletContainer uninstall procedure. Upon successful install of OpenPortal PortletContainer, the installer would have created a
'portlet-container' directory as <glassfish_install>/domains/domain1/portlet-container.
There is a setup.xml under this directory, invoking the
'uninstall-pc' ant target does the job. Here is the example
# ant -f setup.xml uninstall-pc.
Make sure you restart the glassfish application server after this.