I have a couple of portlets built and deployed and they work great, but when I add the Vaadin compiler portlet I receive an error (displays twice in each portlet) within my two deployed portlets. I have compiled using the Vaadin portlet after adding “Vaadin IPC for Liferay 0.9.1” and it appears to compile successfully.
Did you add the IPC jar to liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib ? And also to your portlet project web-inf/lib ? Compiled widgetset on your project before deploying to Liferay?
I killed Liferay and removed my portlets from webapps, re-compiled using the Vaadin compiler, and now the error is GONE after re-deployment. Thanks!
[/quote]Hi
HI Ryan, i am also facing the same problem, while i tried to follow the same steps as u mentioned here, one thing i cud nt get, what do u mean by this : "I killed Liferay "
I would recommend using Vaadin Control Panel for Liferay to compile the widgetset. It is available
in the Directory if not already installed in the control panel of your Liferay deployment.
I tried whatever u told me, The two GTW jars(gwt-user.jar and gwt-dev.jar) were missing i added them and recompiled the project. I am still not able to get the interportlet functionality.
i am attaching the screenshot of my project’s directory, please have a look, i think i am missing any jar or some other config file. Plz make me correct if i am wrong.
As far as I know, these should all work together. Just make sure your Eclipse project is using the Vaadin version that is in the portal, preferably by pointing to it in your portlet classpath (possibly already done automatically depending on how you created the project in Liferay IDE).
To upgrade the Vaadin version on your portal and to compile the widgetset for it, use
Vaadin Control Panel for Liferay (download from the directory if not already in your Liferay installation). Make sure you include any custom widgets your portlets use.
Anyways I am able to sort this out, but want to tell one thing, this error comes whenever there is a compilation error in the business logic. So please check out manually or debug your java logic before you deploy it on the sever.