0

problems with the server push.

asked 2011-10-17 07:15:04 +0800

bhushan2169 gravatar image bhushan2169
138

hi,
Recently I replaced evalution varsion with the CE version. My application has server push operation. But when I execute my application it gives an exception

org.zkoss.zkmax.ui.comet.CometServerPush cannot be cast to org.zkoss.zk.ui.sys.ServerPush


which is on the line where I define my class which extends thread
class workingThread extends Thread {

what could be the problem?

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-10-17 07:18:02 +0800

bhushan2169 gravatar image bhushan2169
138

my zk.xml file as follows.

<zk>
<device-config>
<device-type>ajax</device-type>
<timeout-uri>/timeout.zul</timeout-uri><!-- An empty URL can cause the browser to reload the same URL -->
</device-config>

</zk>

below is my list of jar files::>
zcommon.jar
zhtml.jar
zk.jar
zkplus.jar
zul.jar
zweb.jar


It works fine on my local machine but when I upload it on server It gives above error. please help me out.

link publish delete flag offensive edit

answered 2011-10-17 13:55:54 +0800

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

comet server push is EE edition.

http://www.zkoss.org/product/zk/edition

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: 2011-10-17 07:15:04 +0800

Seen: 179 times

Last updated: Oct 17 '11

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