ZK Performance Monitor on 3.6

asked 2011-02-10 12:29:44 +0800

mcoughlin gravatar image mcoughlin


I followed this smalltalk to implement performance monitoring on my application that uses ZK 3.6:

Everything was going smoothly until I tried to access monitor.zul, at which point I received this error:
java.lang.NoSuchMethodError: org.zkoss.zk.ui.Session.setAttribute(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

The small talk specifically said that the monitor.jar was applicable to versions 3.6 and later, but this method doesn't exist until ZK 5. It seems like there should be two separate .jars, one for 3.6 and one for 5.0. Is there a .jar available that will work with version 3.6? Thank you.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-02-10 14:11:36 +0800

mcoughlin gravatar image mcoughlin

I downloaded the source code, recompiled the code with zk 3.6 jars in my classpath, and then rebuild the .jar. Everything is working now.

link publish delete flag offensive edit

answered 2011-02-10 15:48:12 +0800

TonyQ gravatar image TonyQ


link publish delete flag offensive edit

answered 2011-02-18 12:15:21 +0800

andij62 gravatar image andij62
301 1 6

Hi mcoughlin

is it possible to share the new compiled .jar?

regards Andi

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




Asked: 2011-02-10 12:29:44 +0800

Seen: 185 times

Last updated: Feb 18 '11

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