[
https://issues.jboss.org/browse/SEAMCRON-37?page=com.atlassian.jira.plugi...
]
Peter Royle resolved SEAMCRON-37.
---------------------------------
Fix Version/s: 3.0.0.Alpha2
Resolution: Done
Thanks a lot for the report. Upgraded to Quartz 1.6.5 to avoid dealing with API changes.
If there are specific features of Quartz 2 that you want to take advantage of (even
non-functional) please raise a separate JIRA and I'll consider the move to Quartz 2
separately.
IllegalArgumentException: timeout value is negative
---------------------------------------------------
Key: SEAMCRON-37
URL:
https://issues.jboss.org/browse/SEAMCRON-37
Project: Seam Cron
Issue Type: Task
Affects Versions: 3.0.0.Alpha1
Environment: Tomcat 7.0.16, JDK6, Weld 1.1.0
Reporter: Christian Kaltepoth
Assignee: Peter Royle
Fix For: 3.0.0.Alpha2
I'm using Seam Cron to implement some background processing stuff in my application.
Unfortunately after a few days the Quartz scheduler dies with this exception:
{code}
2011-08-05 22:54:56,157 ERROR [QuartzSchedulerThread] Runtime error occured in main
trigger firing loop.
java.lang.IllegalArgumentException: timeout value is negative
at java.lang.Object.wait(Native Method)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:296)
{code}
I did some research and found out that this is a known bug of Quartz 1.6.1. For details
see the upstream issue:
http://jira.opensymphony.com/browse/QUARTZ-707
This bug has been fixed in Quartz 1.6.2. So I think it would make sense to update the
Quartz dependency of Seam Cron to the most recent Quartz version which is 1.6.5.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira