0

Deploying zkoss in a Glassfish cluster

asked 2009-11-08 12:06:43 +0800

ecarpenter gravatar image ecarpenter
33 5

Hi,

I need to deploy a zkoss application on a Glassfish cluster. The Glassfish cluster is setup as per the instructions found on the Glassfish/SUN's website. I have also verified that it works with the clusterjsp clustering example program.

When I deploy the zkdemo application the initial screen will be displayed but on clicking on any component it immediately goes to the Session Timeout screen.

Is there any instructions on how to get zkoss to work in a Glassfish cluster?

Regards
Eddie Carpenter

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-11-19 11:48:19 +0800

ecarpenter gravatar image ecarpenter
33 5

I have furthermore verified that the zk.xml file is setup as explained in
http://www.zkoss.org/smalltalks/clusteringI/clusteringI.dsp
http://www.zkoss.org/smalltalks/clusteringII/clusteringII.dsp

I have also increased the debug level of the webservices on Glassfish to FINE and have noticed that I am getting the following error:
java.io.NotSerializableException: org.zkoss.zkdemo.userguide.DemoItem

From the above I have come to the conclusion that the zkdemo.war application is not clusterable.

Are there anyone that have succeed in getting zkdemo to work in a clustered environment?

Regards
Eddie Carpenter

link publish delete flag offensive edit

answered 2009-11-19 16:20:56 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

please check and correct the clustering links.

link publish delete flag offensive edit

answered 2009-11-20 02:07:45 +0800

ecarpenter gravatar image ecarpenter
33 5

What do you mean by "clustering links"?

link publish delete flag offensive edit

answered 2009-11-20 05:14:43 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-11-20 05:16:27 +0800

http://www.zkoss.org/smalltalks/clusteringI/clusteringI.dsp

don't work. You must override the http://www.zkoss.org in the external with your link-url.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2009-11-08 12:06:43 +0800

Seen: 2,346 times

Last updated: Nov 20 '09

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