0

How to make ZUL files Serializable to make them work while Session Replication?

asked 2014-07-10 13:33:41 +0800

Nikhil2014 gravatar image Nikhil2014
1

Hello Techies,

We have used ZK Calendar in our Java/JSP/Servlets web application which we have deployed in clustered environment [Load Balancing and Session Replication].

Everything is getting replicated as expected, but it is failing on the JSPs where we have included ZUL files. e.g

<jsp:include page="../web/index.zul"></jsp:include>

At the above line it is giving an exception as follows:

Caused by: java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute javax.zkoss.zk.ui.Session

Somehow I have to Serialize all of the .zul file attributes.

It works perfectly fine in single server deployment [Non-clustered environment]

Any help highly appreciated.

Regards Nikhil

delete flag offensive retag edit
Be the first one to answer this question!
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: 2014-07-10 13:33:41 +0800

Seen: 4 times

Last updated: Jul 10 '14

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