Foren

Liferay and ICEfaces - User Session Expired

thumbnail
Stanley Kurtz Matias de Lima, geändert vor 14 Jahren.

Liferay and ICEfaces - User Session Expired

New Member Beiträge: 17 Beitrittsdatum: 08.10.09 Neueste Beiträge
Hi all!

I am getting the 'User Session Expired' popUp frequently when the web application remains idle for approximately 30 minutes.

These are the details of my liferay environment:
Liferay 5.1.2 running on apache tomcat 6.0 , mysql 5.0.

I tried to set the properties of file 'portal-ext.properties' (session.timeout=60, session.timeout.warning=0, session.timeout.auto.extend=true), but i didn't have result.
I added 'emptySessionPath=true' to the server.xml, and didn't have result.
Now don't displays the 'User session expired' window, but continues to expire. And in the log file appears the following message:

ERROR [SessionDispatcher:106] java.lang.IllegalStateException: getAttributeNames: Session already invalidated

My portlets are inaccessible until I close and reopen the browser.

Can anyone help me? Does anyone have a solution to this problem?

Thank you!
thumbnail
Jonas Yuan, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Liferay Master Beiträge: 993 Beitrittsdatum: 27.04.07 Neueste Beiträge
This is long-known issue related to icefaces in Liferay portal. When using 4.3 and icefaces 1.5, this was a major issue. Now it is time to get it fixed in 5.1 or above.

You may refer to this post:

http://www.liferay.com/web/guest/community/forums/-/message_boards/message/4137372

Hope that it helps,

Thanks

Jonas Yuan
-----------------
The Author of Liferay Books:
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
thumbnail
Stanley Kurtz Matias de Lima, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

New Member Beiträge: 17 Beitrittsdatum: 08.10.09 Neueste Beiträge
Hi Jonas Yuan!

Thanks a lot for your help.

It seems this problem still didn't was resolved, correct me if I'm wrong, please.It seems that problem continues even with the users of latest versions of Liferay and Icefaces.

In the post indicated for you (http://www.liferay.com/web/guest/community/forums/-/message_boards/message/4137372), according to Dmitry - "As for timeout settings and related popup, we simply disabled it. Portlets done with icefaces still timeout, but they do not produce any messages about this and any action done inside portal page reinitializes them."

Anton and Dmitry use the latest versions of Liferay and Icefaces and continue with the problem 'session expired'.

There are others posts about this:

http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3808285
Satish Kumar wrote "... now it looks to me it is working via the session.timeout parameter of portal-ext.properties/web.xml."

According to Bitec (http://www.icefaces.org/JForum/posts/list/14882.page) the cause of problem is:
"During the rendering of the page (request url is <host>/<portlet-name>/page_name.iface) the session instance is different from the ajax request (request url is <host>/<portlet-name>/send-recieve-update). And that's why another instance of MainSessionBoundServlet is created with it's own ice.sessions parameter."

He did say too:

"Actually this 'session expired' window was our headache in previous releases of Icefaces, and I see it is still not fixed in these releases... It's a great pity and really embarrassing. "

This is correct?

Thank you!
thumbnail
Jonas Yuan, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Liferay Master Beiträge: 993 Beitrittsdatum: 27.04.07 Neueste Beiträge
Hi Stanley,

Thank you. This would be a blocker using ICEface in Liferay portal.

ICEface is very good. But this issue must be fixed first.

You may refer to this post:

http://www.icefaces.org/JForum/posts/list/8201.page

Please share your findings,

Jonas Yuan
-----------------
The Author of Liferay Books:
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
thumbnail
Stanley Kurtz Matias de Lima, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

New Member Beiträge: 17 Beitrittsdatum: 08.10.09 Neueste Beiträge
Thanks for help.

I fixed the links that weren't appearing in the previous post, sorry emoticon.

You known if is there a partnership between developers of Liferay and ICEfaces to try to solve this problem?

Thank you!
thumbnail
Jonas Yuan, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Liferay Master Beiträge: 993 Beitrittsdatum: 27.04.07 Neueste Beiträge
Hi Stanley,

Yes, It is.

http://www.icesoft.com/corporate/press_release-icefaces-liferay.html

Neil Griffin - expert on integration of Liferay and Icefaces.

Jonas Yuan
-----------------
The Author of Liferay Books:
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Dmitry Babain, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Regular Member Beiträge: 238 Beitrittsdatum: 23.11.08 Neueste Beiträge
Anton and Dmitry use the latest versions of Liferay and Icefaces and continue with the problem 'session expired'.


Just to mention, we are using 5.2.3 bundle and several patches for jsp, applied manually, not the latest version from trunc.
thumbnail
Stanley Kurtz Matias de Lima, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

New Member Beiträge: 17 Beitrittsdatum: 08.10.09 Neueste Beiträge
Hi Dmitry!

Sorry for the misinterpretation in previous post.
But, in recent days you found some information to fix the problem of 'timeout' of the Portlets with ICEfaces?

Thank you!
Dmitry Babain, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Regular Member Beiträge: 238 Beitrittsdatum: 23.11.08 Neueste Beiträge
We did not fix this problem, we simply avoid it.
Our version runs with liferay session autoextended and icefaces version is set to timeout in 1 hour, with icefaces timeout warning disabled . Sometimes - rare - icefaces portlets timeout and appear on a page with session expired triangle. In this case user just refreshes page. Bad solution for a real enterprise-like software, i guess.
thumbnail
Victor Zorin, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Liferay Legend Beiträge: 1228 Beitrittsdatum: 14.04.08 Neueste Beiträge
Bad solution for a real enterprise-like software, i guess

Completely agree, and unfortunately the more we dig into it this simple timeout issue it feels more and more that it is only a first symptom of a bigger problem. It is quite possible that this new issue is also related: Users switch context.
thumbnail
Michelle Kawaye, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

Junior Member Beiträge: 61 Beitrittsdatum: 22.07.08 Neueste Beiträge
Hi Stanley,

Thank you for your post. Just so you know, your other repeat posts were removed in compliance with our Forum FAQs and Guidelines. This is to help streamline our forums and to reduce the amount of threads that a community member has to search through.

Thank you.
thumbnail
Stanley Kurtz Matias de Lima, geändert vor 14 Jahren.

RE: Liferay and ICEfaces - User Session Expired

New Member Beiträge: 17 Beitrittsdatum: 08.10.09 Neueste Beiträge
Ok Michele, sorry for the mistake.
Thank you!