0

Clutering problem

asked 2015-09-15 10:03:09 +0800

Charlie354 gravatar image Charlie354
0

Hi guys,

in my zul page I use zkpring taglib in order to use if="${!sec:isAnyGranted('ROLE_USER')}.

The problem arise because the application is marked as <dsitributable/> and ZK tries to serialize the SecurityUtil object behind the taglib, while SecurityUtil not implements java.io.Serializable.

In this way the session is not replicated correctly and when the load balancer switches the user to the other node, the session is not available.

Any help will be really appreciated.

Thanks in advance, Carlo

delete flag offensive retag edit

Comments

can you post the exception stack trace?

hawk ( 2015-09-18 03:20:34 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-20 06:53:45 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Charlie354,

Please find below some additional information that my help you resolve the issue:

http://books.zkoss.org/wiki/ZKDeveloper'sReference/Clustering/ProgrammingTips#.23ClusteringListeners

http://books.zkoss.org/wiki/ZKDeveloper'sReference/Clustering/ZK_Configuration

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-09-15 10:03:09 +0800

Seen: 31 times

Last updated: Sep 20 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More