]
Marcus Linke updated JBAS-7926:
-------------------------------
Attachment: connector.patch
Added patch...
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
Attachments: connector.patch
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: