I’m trying to deploy this portlet. Everything looks okay in the logs but I can’t seem to find the portlet when trying to add it to the page. Where can I find this? Thanks.
It is added to the Liferay Control Panel (Manage → Control Panel → Portal → Vaadin)
for some reason, it’s not showing up… i don’t see any errors in the logs either…
i can see that it’s getting deployed but I don’t see that it’s getting registered…
May 17, 2011 2:04:42 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory vaadin-controlpanel-for-liferay-0.9.0
Strange because it deploys nicely for me, like
08:59:13,096 INFO [AutoDeployDir:167]
Processing vaadin-controlpanel-for-liferay-0.9.0.war
08:59:13,097 INFO [PortletAutoDeployListener:71]
Copying portlets for /home/liferay/liferay6-vaadin-6.6.0/deploy/vaadin-controlpanel-for-liferay-0.9.0.war
Expanding: /home/liferay/liferay6-vaadin-6.6.0/deploy/vaadin-controlpanel-for-liferay-0.9.0.war into /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/temp/20110520085913099
Copying 1 file to /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/temp/20110520085913099/WEB-INF/classes
Copying 1 file to /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/temp/20110520085913099/WEB-INF/classes
Copying 1 file to /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/temp/20110520085913099/META-INF
Copying 46 files to /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/webapps/vaadin-controlpanel-for-liferay-0.9.0
Copying 1 file to /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/webapps/vaadin-controlpanel-for-liferay-0.9.0
Deleting directory /home/liferay/liferay6-vaadin-6.6.0/tomcat-6.0.26/temp/20110520085913099
08:59:14,368 INFO [PortletAutoDeployListener:81]
Portlets for /home/liferay/liferay6-vaadin-6.6.0/deploy/vaadin-controlpanel-for-liferay-0.9.0.war copied successfully. Deployment will start in a few seconds.
May 20, 2011 8:59:23 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory vaadin-controlpanel-for-liferay-0.9.0
08:59:24,187 INFO [PortletHotDeployListener:220]
Registering portlets for vaadin-controlpanel-for-liferay-0.9.0
08:59:24,273 INFO [PortletHotDeployListener:369]
1 portlet for vaadin-controlpanel-for-liferay-0.9.0 is available for use
This is in Liferay 6.0.5/Tomcat with Vaadin 6.6.0. If it was some kind of version conflict I think it still should deploy or give some error message…
Have you found what was happening ?
Because I am experiencing the exact same issue
here is the deploy of the controlPanel war file
01/09/2011 18:41:38 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application [b]
[i]
[u]
[/u]
[/i]archive vaadin-controlpanel-for-liferay.war
[/b]
01/09/2011 18:41:38 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory brochure-theme
18:41:38,547 INFO [ThemeHotDeployListener:78]
Registering themes for brochure-theme
18:41:38,968 INFO [ThemeHotDeployListener:89]
1 theme for brochure-theme is available for use
01/09/2011 18:41:38 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory chat-portlet
Loading file:/C:/DEV/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
18:41:39,340 INFO [DialectDetector:69]
Determining dialect for MySQL 5
18:41:39,341 INFO [DialectDetector:49]
Using dialect org.hibernate.dialect.MySQLDialect
Loading file:/C:/DEV/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
Loading file:/C:/DEV/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
18:41:39,618 INFO [PortletHotDeployListener:220]
Registering portlets for chat-portlet
Loading file:/C:/DEV/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/portlet.properties
18:41:39,769 INFO [PortletHotDeployListener:369]
1 portlet for chat-portlet is available for use
But for some reason it’s not showing inside of the control panel…
I am using Portal 6.0.6 and vaadin 6.6.2 because it was installed by portal plugins.
How can I fix this ? there is not even an error to point me somewhere.
Thanks
OK, Stupid me !
I didn’t put the .war in the deploy directory of Liferay, I did put it inside the tomcat/webapps folder, so it was being deployed as a portlet.
Now I copied it in the deploy dir, restarted Liferay and it installed OK and it’s showing like expected.