I'm not so sure that org.jboss.varia.scheduler.Scheduler is working the
way it is supposed to.  This is on Branch_3_0/SuSE linux 7.3/Jdk1.3.1.03

I am having troubles with my schedulable files so I did some testing
useing the example schedule-service.xml.  I uncommented the schedulable
example and deployed that one file.  Things work fine.

I get:
 Schedulable Examples is called at: Mon May 20 14:30:40 PDT 2002,
remaining repetitions: -1, test, name: Schedulabe Test, value: 12345

Next, I made a copy of the schedulable xml file and called it Scheduler2
instead.  I deployed that, it works fine.


I now get:
Schedulable Examples is called at: Mon May 20 14:30:50 PDT 2002,
remaining repetitions: -1, test, name: Schedulabe Test, value: 54321
(I changed the int to differentiate)


Next I change the 2nd to have a long interval.  All of a sudden the 10
second schedulable doesn't work any more, it is waiting for the same
long interval.  I tried the 2nd service to be 40 seconds instead.  Both
services now run at 40 seconds instead of on at 40 and one at 10.


So I redeploy the schedulable with the long timeout after changing back
to a short timeout.  Both schedulables start working at the shorter
timeout now.  I tried a shorter interval ( 5 seconds ) and now both
schedulables operate at 10 seconds.


This is the exact behavior I get with my own schedulables.  I deploy two
sar files that I expect the schedular to call on certain intervals.  But
the longer one that I deploy seems to override the shorter one.


Any suggestions on what to look for?  I hope someone can reproduce this.

Thanks
Dennis


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to