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-info-viewer/issues/2
Issue resolved in GIT ID 230ba73162a09c6551c539c6dc82b2e76fdc270b with POM version 1.0.2.1
This issue is related to issue https://github.com/permeance/liferay-dm-info-viewer/issues/3
Liferay DM Downloader and Liferay DM Info Viewer do not startup correctly when com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener is enabled.
Refactored classes and properties to enable compatibility with Liferay Portal 6.1 EE GA2 (6.1.20) patch "plugin-deployment-1-6120".
Liferay DM Folder Downloader 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.