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.
Activity
Neil Griffin
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] |
Ken Fyten
made changes -
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Resolution | Won't Fix [ 2 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Workaround Description |
When deploying ICEfaces portlets to a Tomcat/Liferay where Liferay is deployed to a servlet context other than ROOT, ensure the emptySessionPath attribute of the Connector node is set to 'true' in Tomcat's server.xml as follows: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" emptySessionPath="true" /> |
|
Workaround Exists | [Yes] | |
Salesforce Case | [] |
Ken Fyten
made changes -
Status | Reopened [ 4 ] | Closed [ 6 ] |
Resolution | Won't Fix [ 2 ] |
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