Discussion:
[Openjmx-devel] [ openjmx-Bugs-507238 ] Sun RI MonitorMBean example fails
n***@sourceforge.net
2002-01-22 20:53:03 UTC
Permalink
Bugs item #507238, was opened at 2002-01-22 14:49
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507238&group_id=34041

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sun RI MonitorMBean example fails

Initial Comment:
Trying to get the Sun RI MonitorMBean example to run with OpenJMX generates
the following exception:

java.lang.IllegalStateException: Task already scheduled or cancelled

The behaviour of the example suggests a problem with a
start(), stop(), start() call sequence in class Monitor.

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507238&group_id=34041
n***@sourceforge.net
2002-01-22 21:41:13 UTC
Permalink
Bugs item #507238, was opened at 2002-01-22 14:49
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507238&group_id=34041

Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sun RI MonitorMBean example fails

Initial Comment:
Trying to get the Sun RI MonitorMBean example to run with OpenJMX generates
the following exception:

java.lang.IllegalStateException: Task already scheduled or cancelled

The behaviour of the example suggests a problem with a
start(), stop(), start() call sequence in class Monitor.

----------------------------------------------------------------------
Comment By: Carlos Quiroz (tibu)
Date: 2002-01-22 15:40

Message:
Logged In: YES
user_id=64333

Closed by fixing Monitor scheduling code, creating a new
TimerTask every time instead of reusing it.
Added testing code for regression testing


----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=410050&aid=507238&group_id=34041
Loading...