-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi,
I'm having trouble with an application using polling server push. Everything works fine most of the time, but suddenly a burst of errors prevent the server push from working, only to recover some time later. This is what I get:
java.lang.IllegalStateException
Before calling Executions.schedule(), the server push must be enabled for [Desktop z_8x1:/index.zul]
at org.zkoss.zk.ui.impl.DesktopImpl.checkSeverPush(DesktopImpl.java:1431) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.scheduleServerPush(DesktopImpl.java:1411) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.Executions.schedule(Executions.java:873) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.publish(ServerPushEventQueue.java:157) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.access$000(ServerPushEventQueue.java:137) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue.publish(ServerPushEventQueue.java:53) ~[zk-6.5.3.jar:6.5.3]
Thread Thread-5564 (id=5892)
Timestamp 2013-12-31 10:54:52.981+0100
Username Marta.Lopez
--------------------------------------------------------------------------------
java.lang.IllegalStateException
Before calling Executions.schedule(), the server push must be enabled for [Desktop z_8x1:/index.zul]
at org.zkoss.zk.ui.impl.DesktopImpl.checkSeverPush(DesktopImpl.java:1431) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.scheduleServerPush(DesktopImpl.java:1411) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.Executions.schedule(Executions.java:873) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.publish(ServerPushEventQueue.java:157) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.access$000(ServerPushEventQueue.java:137) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue.publish(ServerPushEventQueue.java:53) ~[zk-6.5.3.jar:6.5.3]
at org.sulia.findev.commands.EventQueueFinDevCommand.toStage(EventQueueFinDevCommand.java:362) ~[findevrt-2.7.0.jar:na]
at org.sulia.findev.commands.Print.jamFreePrinting(Print.java:320) ~[findevrt-2.7.0.jar:na]
at org.sulia.findev.commands.Print$2.onEvent(Print.java:170) ~[findevrt-2.7.0.jar:na]
at org.zkoss.zk.ui.event.impl.DesktopEventQueue$AsyncListenerThread.run(DesktopEventQueue.java:201) [zk-6.5.3.jar:6.5.3]
Thread Thread-5552 (id=5880)
Timestamp 2013-12-31 10:54:53.645+0100
Username Begona.Casas
It's only two out of many similar log messages separated by equally ludicrous lapses of time. That lots of requests by many different users share the same desktop id strikes me at most, specially if we take into account that no desktop recycling scheme has been implemented.
Has anybody experienced something like this before? Any clue as to what might be happening would be highly appreciated. I'm using zk 6.5.3 (as you can tell from the log traces) and there is a Zeus balancer between the users and the application.
Regards
2 | No.2 Revision |
Hi,
I'm having trouble with an application using polling server push. Everything works fine most of the time, but suddenly a burst of errors prevent the server push from working, only to recover some time later. This is what I get:
java.lang.IllegalStateException
Before calling Executions.schedule(), the server push must be enabled for [Desktop z_8x1:/index.zul]
at org.zkoss.zk.ui.impl.DesktopImpl.checkSeverPush(DesktopImpl.java:1431) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.scheduleServerPush(DesktopImpl.java:1411) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.Executions.schedule(Executions.java:873) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.publish(ServerPushEventQueue.java:157) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.access$000(ServerPushEventQueue.java:137) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue.publish(ServerPushEventQueue.java:53) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.checkSeverPush(DesktopImpl.java:1431) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.scheduleServerPush(DesktopImpl.java:1411) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.Executions.schedule(Executions.java:873) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.publish(ServerPushEventQueue.java:157) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.access$000(ServerPushEventQueue.java:137) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue.publish(ServerPushEventQueue.java:53) ~[zk-6.5.3.jar:6.5.3]
Thread Thread-5564 (id=5892)
Timestamp 2013-12-31 10:54:52.981+0100
Username Marta.Lopez
--------------------------------------------------------------------------------
java.lang.IllegalStateException
Before calling Executions.schedule(), the server push must be enabled for [Desktop z_8x1:/index.zul]
at org.zkoss.zk.ui.impl.DesktopImpl.checkSeverPush(DesktopImpl.java:1431) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.scheduleServerPush(DesktopImpl.java:1411) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.Executions.schedule(Executions.java:873) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.publish(ServerPushEventQueue.java:157) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.access$000(ServerPushEventQueue.java:137) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue.publish(ServerPushEventQueue.java:53) ~[zk-6.5.3.jar:6.5.3]
at org.sulia.findev.commands.EventQueueFinDevCommand.toStage(EventQueueFinDevCommand.java:362) ~[findevrt-2.7.0.jar:na]
at org.sulia.findev.commands.Print.jamFreePrinting(Print.java:320) ~[findevrt-2.7.0.jar:na]
at org.sulia.findev.commands.Print$2.onEvent(Print.java:170) ~[findevrt-2.7.0.jar:na]
at org.zkoss.zk.ui.event.impl.DesktopEventQueue$AsyncListenerThread.run(DesktopEventQueue.java:201) [zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.checkSeverPush(DesktopImpl.java:1431) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.impl.DesktopImpl.scheduleServerPush(DesktopImpl.java:1411) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.Executions.schedule(Executions.java:873) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.publish(ServerPushEventQueue.java:157) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue$DesktopInfo.access$000(ServerPushEventQueue.java:137) ~[zk-6.5.3.jar:6.5.3]
at org.zkoss.zk.ui.event.impl.ServerPushEventQueue.publish(ServerPushEventQueue.java:53) ~[zk-6.5.3.jar:6.5.3]
at org.hidden.hidden.commands.EventQueueFinDevCommand.toStage(EventQueueFinDevCommand.java:362) ~[hiddenrt-2.7.0.jar:na]
at org.hidden.hidden.commands.Print.jamFreePrinting(Print.java:320) ~[hiddenrt-2.7.0.jar:na]
at org.hidden.hidden.commands.Print$2.onEvent(Print.java:170) ~[hiddenrt-2.7.0.jar:na]
at org.zkoss.zk.ui.event.impl.DesktopEventQueue$AsyncListenerThread.run(DesktopEventQueue.java:201) [zk-6.5.3.jar:6.5.3]
Thread Thread-5552 (id=5880)
Timestamp 2013-12-31 10:54:53.645+0100
Username Begona.Casas
It's only two out of many similar log messages separated by equally ludicrous lapses of time. That lots of requests by many different users share the same desktop id strikes me at most, specially if we take into account that no desktop recycling scheme has been implemented.
Has anybody experienced something like this before? Any clue as to what might be happening would be highly appreciated. I'm using zk 6.5.3 (as you can tell from the log traces) and there is a Zeus balancer between the users and the application.
Regards