Affects Version/s: 7.0.1 CE GA2
Fix Version/s: 7.0.1 CE GA2
Modules failed to be restarted:
Liferay Portal Scheduler
Liferay Portal Scheduler Multiple
Liferay Portal Scheduler Single
Steps to reproduce:
1) Start portal
2) Go to Apache Felix Gogo by "telnet localhost 11311"
3) Find the bundle id of "Liferay Portal Scheduler"
4) Stop the bundle, and you will see "[BundleStartStopLogger:38] STOPPED com.liferay.portal.scheduler" in console
5) Start the same bundle, before fix, you will see "com.liferay.portal.kernel.scheduler.SchedulerException: Unable to schedule job", after fix, you will see "[BundleStartStopLogger:35] STARTED com.liferay.portal.scheduler".
Please see attachment error.catalina.out for more details about the error
The root reason of this issue is that once a quartz scheduler is shutdown, it can not be restarted. The solution is to use standby() method provided by quartz scheduler when the client wants to stop the scheduler and let the bundle to handle the real shutdown process.