OpenPortal Portlet Container in Liferay
Recently OpenPortal Portlet Container was fully integrated in Liferay Portal.
The OpenPortal Portlet Container is a fully compliant implementation of the Portlet 2.0 (JSR286) specification. And it also implements many of the optional features like expiration and validation caching, support for alias in eventing and public render parameters, support for wild card in eventing. It is already a part of Project WebSynergy and Sun Java System Portal Server 7.2.
The WSRP 2.0 implementation provided by the WSRP Project
works seamlessly with our Portlet Container. Thus the embedding of the
Portlet Container in Liferay Portal ensures that
the WSRP 2.0 implementation can also be integrated.
Similarly you can embed this Portlet Container in any Portal based on the steps documented in this article.
hi,
Please check this:
Reply-----
http://blogs.sun.com/deepakg/
lalit wrote:
Good Morning,
i am using eclipse to create portlets for my portal which is JBoss Portal.i want to develop my portlets using your plugin but i am not getting any guide or docs or APIs for the same.I installed "com.sun.jsr168.portlet.plugin_1.1.0.jar"
in my plugin directory of eclipse.Its working fine but getting issues as no help is there.Can you suggest some API reference or some guide so that i can get use to classes & all for portlet plugin.
Waiting for your reply.
Posted by lalit on October 18, 2008 at 05:31 PM IST #
Hi lalit,
It was one of my todo items. We have a new version of eclipse portal pack. Check my blog more details.
http://blogs.sun.com/deepakg/entry/eclipse_portal_pack_2_0
Let me know if you face any issues.
Thanks,
Deepak
Posted by Deepak Gothe on October 20, 2008 at 04:05 PM IST #
Hi Deepak,
After installing portlet container I run the glassfish server through the command line "asdmin start-domain domain1" and deploy my portlet from admin console.
When I try to access my portlet using http:localhost:8080/portletdriver/dt it does not display anything on that page.
When I try to deploy the portlet using http:localhost:8080/portletdriver/admin it says
Deployment Failed:Error Updating war: test.war
I am using RED Hat 5 Enterprise Edition.
Please help me out.
Thanks
Hariom Tiwari
Posted by Hariom Tiwari on February 16, 2009 at 01:45 PM IST #
Hi Hariom,
Sorry for the delayed response. There was known issue with Linux installation and it had to do with ANT_HOME. This has been fixed in Portlet Container 2.1 release.
Regards,
Deepak
Posted by Deepak Gothe on February 18, 2009 at 05:57 PM IST #
Hi Deepak,
I was able to use NetBeans 6.7.1 to deploy portlets on GlassFish v2.1 and browse them in the Portlet Container 2.1 at: localhost:8080/portletdriver/dt.
Our target platform is Liferay, currently 5.2.2. NetBeans IDE was helpfully providing the Runtime for it. I get no errors on deployment but I cannot reach the portlet deployed. Among other things, I noticed the portlet.xml is replaced by sun-portlet.xml that comes with its own PortletAppEngineServlet, SunPortletXMLImpl references. Do I have to add the Portlet Container somehow to Liferay? or to the underlining Tomcat 6.0? Do I have to get rid of the sun-portlet.xml and its dependencies and go for a portlet.xml deployment descriptor, as other Portlets use for Liferay deployment?
Dorin
Posted by Dorin Cecan on October 22, 2009 at 07:21 AM IST #
If you are using Liferay 5.2.2, then the Server selected in Netbeans should be Liferay. Check if that is the case. Also Portlet Container 2.1 is part of Liferay 5.2.2. By default its not enabled. You can enable it by setting the property "portlet.container.impl=sun" in portal-ext.properties
Posted by Deepak on October 22, 2009 at 02:14 PM IST #