[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2353) Quartz asynchronous events shceduled to fire while the server is shutdown fire before seam is initialized when the server is started.

Yona Appletree (JIRA) jira-events at lists.jboss.org
Wed Dec 5 18:19:51 EST 2007


Quartz asynchronous events shceduled to fire while the server is shutdown fire before seam is initialized when the server is 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

        



More information about the seam-issues mailing list