[jboss-jira] [JBoss JIRA] Created: (JBAS-7926) Quartz RA: Endpoint deactivation immediately stops classloader of (long running) quartz job
Marcus Linke (JIRA)
jira-events at lists.jboss.org
Mon Apr 12 09:41:37 EDT 2010
Quartz RA: Endpoint deactivation immediately stops classloader of (long running) quartz job
-------------------------------------------------------------------------------------------
Key: JBAS-7926
URL: https://jira.jboss.org/jira/browse/JBAS-7926
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-6.0.0.M2
Reporter: Marcus Linke
While undeploying/stopping the MDB the QuartzResourceAdapter's 'endpointDeactivation' hook calls the quartz scheduler method 'deleteJob(..)'. This method call is nonblocking and therefore the process of stopping the MDB is continued. As part of this the classloader of the quartz job is also stopped which may prevent a long running job to successfully complete.
One possible workaround may be to use a quartz job listener here to emulate the blocking behavior and wait until a running job completes. Eventually there is a need for a timeout value then, but this could be configured by the MDB itself via ActivationConfigProperties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list