Closed timtelcik closed 11 years ago
When the ServletContextListenerHotDeployListener is disabled, the hook behaves as expected.
This issue is related to https://github.com/permeance/liferay-dm-folder-downloader/issues/2
Liferay DM Info Viewer and Liferay DM Downloader do not startup correctly when com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener is enabled.
See https://github.com/permeance/liferay-dm-folder-downloader
Refactored classes and properties to enable compatibility with Liferay Portal 6.1 EE GA2 (6.1.20) patch "plugin-deployment-1-6120".
Liferay DM Info Viewer is not compatible with patch "Liferay Portal 6.1 EE GA2 Update 2012-09-18 Plugin Deployment-1"
See patch "Liferay Portal 6.1 EE GA2 Update 2012-09-18 Plugin Deployment-1" at "http://www.liferay.com/group/customer/downloads/-/asset_publisher/YtYHVPRKNO6z/content/2012-09-18-6-1-20-update-plugin-deployment-1"
This patch introduced new hot deploy listener "com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener"
When the ServletContextListenerHotDeployListener is enabled via the hot.deploy.listeners property, the DM Info Viewer hook exhibits the following non-deterministic behaviours:
1/ The hook will not register with Liferay Portal at startup 2/ The hook will throw an Illegal State Exception at runtime due to an missing property packaged with the hook.