Details
Description
Liferay has a customer that has a requirement to deploy Liferay in a Tomcat servlet context other than root. So as part of the training for this customer, I wrote this wiki article:
http://wiki.liferay.com/index.php/Liferay_FAQ#How_do_I_deploy_Liferay_to_a_context_different_than_ROOT_.28starting_with_Tomcat_5.5_standalone.29
During the training, we discovered that Liferay's sample-icefaces-sun-portlet did not work when the portal was deployed in a context named "liferay-portal". When I tried it with the portal in the ROOT context however, it worked fine.
The modal "User Session Expired" window pops up all the time. The porlet is completely unusable.
http://wiki.liferay.com/index.php/Liferay_FAQ#How_do_I_deploy_Liferay_to_a_context_different_than_ROOT_.28starting_with_Tomcat_5.5_standalone.29
During the training, we discovered that Liferay's sample-icefaces-sun-portlet did not work when the portal was deployed in a context named "liferay-portal". When I tried it with the portal in the ROOT context however, it worked fine.
The modal "User Session Expired" window pops up all the time. The porlet is completely unusable.
Hi,
Your characterization of this problem is not correct.
I am running Liferay 4.3.1 on Tomcat 5.5 with Liferay deployed in webapps/ROOT and the sample-icefaces-sun-portlet keeps displaying the "User Session Expired" dialog. As you indicate, the portlet is unusable. I'm using Firefox 2.0.0.7 on OS X 10.4.
I tried the things mentioned on the forum (allowing cookies for localhost, restarting the browser, making sure the <listener> entry in web.xml is correct). Still does it.
Another problem I had with this portlet (perhaps related to Liferay): If the user is not logged in, exceptions are thrown when the FacesMessage is displayed. It's due to Liferay trying to get the companyId during the processing of the message. If the user is not logged in, the companyId is zero and this causes the exception.
Phil