CLONE -make RecoveryManager restartable
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Application Server Integration, Recovery
Affects Versions: 4.5.0
Reporter: Mauro Molinari
Assignee: Jonathan Halliday
Fix For: 4.6.0
Stopping and restarting the transaction manager inside JBossAS causes problems, because
the recovery system does not like to be restarted once it is stopped:
Options would seem to be disposing the static singleton _recoveryManager in
RecoveryManager and recreating it on the next start, effectively causing a new
RecoveryManagerImple to be instantiated, or keep the RecoveryManagerImple instance and
rework its impl so that the PeriodicRecovery _periodicRecovery is disposed and recreated
Either one has slightly odd semantics as the PeriodicRecovery is a Thread (which can't
be restarted so has to be replaced) and also the object that has the module list and the
server socket, so disposal and/or recreation of this state will be needed on restart.
Maybe better to rename stop() to dispose() or something similarly final, to indicate the
semantics are 'throw this away and start again' rather than giving the impression
that stop/start == suspend/resume which is misleading.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see: http://www.atlassian.com/software/jira