[
http://jira.jboss.com/jira/browse/JBAS-2144?page=all ]
Dimitris Andreadis closed JBAS-2144.
------------------------------------
Fix Version/s: JBossAS-5.0.0.Beta
JBossAS-4.0.5.CR1
Resolution: Done
Assignee: Dimitris Andreadis
This is solved now. The behaviour is the same in both jdk1.4 and jdk5, which is
fixed-delay by default, unless you override this by setting FixedRate to true (as shown in
the configuration files).
To get the full story look at:
JBAS-3281
JBAS-3282
Scheduled task interval calculated from stop to start instead of
start to start
-------------------------------------------------------------------------------
Key: JBAS-2144
URL:
http://jira.jboss.com/jira/browse/JBAS-2144
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: JMX
Affects Versions: JBossAS-4.0.2 Final
Environment: Linux, sun jdk 1.5.0_04, JBoss 4.0.2 final
Reporter: Thomas Roka-Aardal
Assigned To: Dimitris Andreadis
Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.CR1
When running jboss 4.0.2 final with jdk 1.5.0_04 the calculation of the next start of a
scheduled operation becomes (time at END of scheduled operation + interval) instead of
(time at START of scheduled operation + interval). This causes scheduled operations to
shift in time based on the duration of the scheduled operation. This does NOT happen using
jdk 1.4 which might hint at the built-in jmx (and timer instance) in the jvm of 1.5
causing the problem?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira