Menu

#1029 A dead listener, say, ExecutionInit, stall ZK execution

3.0.5
closed
nobody
General (233)
5
2008-06-18
2008-06-18
Tom M. Yeh
No

If a listener, e.g., ExecutionInit, takes too long to execute or dead, the whole ZK execution will be stalled.

Reason:
In Configuration.java, we have codes like

synchronized (_evtInits) {
for (Iterator it = _evtInits.iterator(); it.hasNext();) {
...
EventThreadInit init =
(EventThreadInit)klass.newInstance();
init.prepare(comp, evt);
...

Thus, if prepare() is dead, no one is ever to enter synchronized (_evtInits)

Discussion

  • Tom M. Yeh

    Tom M. Yeh - 2008-06-18

    Logged In: YES
    user_id=91099
    Originator: YES

    Fixed since 6/18

     
  • Tom M. Yeh

    Tom M. Yeh - 2008-06-18
    • status: open --> closed
     

Log in to post a comment.