[
http://jira.jboss.com/jira/browse/JBSEAM-2353?page=all ]
Yona Appletree updated JBSEAM-2353:
-----------------------------------
Summary: Quartz asynchronous events shceduled to fire while the server is not running
are fired before seam is initialized when the server is next started. (was: Quartz
asynchronous events shceduled to fire while the server is shutdown fire before seam is
initialized when the server is started.)
Clarified the grammar of the summary.
Quartz asynchronous events shceduled to fire while the server is not
running are fired before seam is initialized when the server is next started.
--------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-2353
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2353
Project: JBoss Seam
Issue Type: Bug
Components: Async
Environment: Jboss 4.2.2.GA; Quartz scheduler.
Reporter: Yona Appletree
Fix For: 2.0.0.GA
When the QuartzDispatcher is created, it causes any event scheduled to fire in the past
to fire immediately (in a separate thread). Since QuartzDispatcher is marked @Startup, it
may start before other components. If the handler of an event fired on startup relies on
another component marked @Startup, it may not exist by the time the event is fired, and
will therefore cause an error.
I have a found a partial workaround for this issue, documented in the referenced forum
thread.
--
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