Hi team,
I'm not quite sure if this is the right place for reporting this sort of thing, but
here it is:
The class org.jboos.util.Scheduler has the following invocation of the Timer mbean
addNotification method while there is no such method with that signature:
This call is made when the value of the schedule start date is more than 'time-now'.
line 290: // Add an initial call
mActualSchedule = ( (Integer) getServer().invoke(
mTimer,
"addNotification",
new Object[]
{
"Schedule",
"Scheduler Notification",
mStartDate,
},
new String[]
{
String.class.getName(),
String.class.getName(),
Date.class.getName(),
}
) ).intValue();
}
Changing the above to the following fixed the problem.
// Add an initial call
mActualSchedule = ( (Integer) getServer().invoke(
mTimer,
"addNotification",
new Object[]
{
"Schedule",
"Scheduler Notification",
null,
mStartDate,
new Long( mActualSchedulePeriod )
},
new String[]
{
String.class.getName(),
String.class.getName(),
Object.class.getName(),
Date.class.getName(),
Long.TYPE.getName()
}
) ).intValue();
}
Thanks for jboss,
and remember we love you.
* * *
View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=15979
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development