構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Fateh Alchhabi
how i can make static SessionID for same user for ever
2012/04/05 2:27
答え

Fateh Alchhabi

ランク: Junior Member

投稿: 58

参加年月日: 2010/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
Juan Gonzalez
RE: how i can make static SessionID for same user for ever
2012/04/05 4:00
答え

Juan Gonzalez

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1847

参加年月日: 2008/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.
Fateh Alchhabi
RE: how i can make static SessionID for same user for ever
2012/04/07 5:12
答え

Fateh Alchhabi

ランク: Junior Member

投稿: 58

参加年月日: 2010/12/01

最近の投稿

i enable it from the first but it doesn't make any change ,,, new session create it emoticon
Juan Gonzalez
RE: how i can make static SessionID for same user for ever
2012/04/07 9:13
答え

Juan Gonzalez

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1847

参加年月日: 2008/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.
Fateh Alchhabi
RE: how i can make static SessionID for same user for ever
2012/04/09 7:08
答え

Fateh Alchhabi

ランク: Junior Member

投稿: 58

参加年月日: 2010/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
Juan Gonzalez
RE: how i can make static SessionID for same user for ever
2012/04/09 7:28
答え

Juan Gonzalez

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1847

参加年月日: 2008/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.