Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
JCR Installer 3.0.0
-
None
-
CQ5.3
Description
Bundle slinginstall:org.apache.sling.osgi.installer-3.0.0-R900409.jar in CQ5.3 only try to store the bundle digests into bundle-digests.properties when the server is shutting down. In case some bundles are installed and the server is not shutdown properly. eg. crash, being killed, next time when CQ5.3 starts, will try to re-install those bundles and leave the bundle status as "installed". It might be good to store such information immediately after any bundle is being installed successfully if possible.
To reproduce the issue:
1. create some test bundle
2. start the CQ5.3 instance, install the test bundle into some /install folder.
3. kill the CQ5.3 instance.
4. start the CQ5.3 instance again.
5. from the crx-quickstart/logs/error.log, could see the test bundle is being installed again.
6. from Felix console, the test bundle status is "installed".