0

ZK Performance Monitor on 3.6

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

mcoughlin gravatar image mcoughlin
39

Hello,

I followed this smalltalk to implement performance monitoring on my application that uses ZK 3.6:
http://books.zkoss.org/wiki/Small_Talks/2010/January/A_ZK_Performance_Monitor

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
39

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
642
https://www.masterbranch....

Great!

link publish delete flag offensive edit

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

andij62 gravatar image andij62
315 1 7

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

Follow

RSS

Stats

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