screwed up my jboss-service.xml inclusion ...
here it is again:
<mbean code="org.jboss.varia.scheduler.Scheduler" name=":service=Scheduler,schedule=MyScheduler"> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableClass">test.MySchedulerClass</attribute> <attribute name="InitialStartDate">24/06/2004 10:45 am</attribute> <attribute name="SchedulePeriod">86400000</attribute> <attribute name="InitialRepetitions">-1</attribute> </mbean>
Have you checked (and double checked) the regional settings and date and time on the server machine?
Double checking was the point :-)
Looks like it is linked to Locale / Date format settings.
However, behaviour is a little confusing ... but that's another matter.
Thanks for the tip darranl, I had checked, but not double checked.
I'm replying here, because my problem is not yet completly solved.
Since last time, I managed to make the scheduler start with the correct settings of Locale and date format.
However, using French(Belgium) as my locale, with daylight savings activated (moves us from GMT+1 to GMT+2 during the summer), and with a scheduled time at 0:01 (am) my task starts at 1:01 (am).
Any idea why it would do that ?
Is there a limitation with scheduling stuff just after midnight ?
Thanks for your attention,
I want to schedule an application thorugh jboss and kindly me guide me to carry forward