掲示板

how i can make static SessionID for same user for ever

thumbnail
12年前 に Fateh Alchhabi によって更新されました。

how i can make static SessionID for same user for ever

Junior Member 投稿: 58 参加年月日: 10/12/01 最新の投稿
i use liferay6.5 clustered with none-sticky load-balancer and i store liferay session in JDBCStore
every thing work fine for me but my problem is i need to make static session ID created for each user
for example when user "test" log in to nod1 new session ID created and if the same user log in to Nod2 new session created so the session replication is losted between the two nods in the clustering, and this caused me problem if on node crashed so the user will log out from the portal
so how i can solve such thing

PS. no plane for now to change the load balancer to Sticky session because we used F5 hardware load balncer
thumbnail
12年前 に Juan Gonzalez P によって更新されました。

RE: how i can make static SessionID for same user for ever

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
You have to enable <distributable/> in web.xml in Liferay. After that, rest of config should be changed in app server side (example: Tomcat) so that J2EE session gets replicated through all nodes.
thumbnail
12年前 に Fateh Alchhabi によって更新されました。

RE: how i can make static SessionID for same user for ever

Junior Member 投稿: 58 参加年月日: 10/12/01 最新の投稿
i enable it from the first but it doesn't make any change ,,, new session create it emoticon
thumbnail
12年前 に Juan Gonzalez P によって更新されました。

RE: how i can make static SessionID for same user for ever

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Fateh Alchhabi:
i enable it from the first but it doesn't make any change ,,, new session create it emoticon



As I've said, now you have to config your server properly.
thumbnail
12年前 に Fateh Alchhabi によって更新されました。

RE: how i can make static SessionID for same user for ever

Junior Member 投稿: 58 参加年月日: 10/12/01 最新の投稿
You have to enable <distributable/> in web.xml in Liferay.
After that, rest of config should be changed in app server side (example: Tomcat) so that J2EE session gets replicated through all nodes.


could you provide me with more details about the rest config plz
thumbnail
12年前 に Juan Gonzalez P によって更新されました。

RE: how i can make static SessionID for same user for ever

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Fateh Alchhabi:
You have to enable <distributable/> in web.xml in Liferay.
After that, rest of config should be changed in app server side (example: Tomcat) so that J2EE session gets replicated through all nodes.


could you provide me with more details about the rest config plz


Nop sorry, that isn't a Liferay question. There are many tutorials around there.