GitHub user bvbharatk opened a pull request: https://github.com/apache/cloudstack/pull/840
CLOUDSTACK-8852 Database shows that management server is UP when it i⦠â¦s actually stopped from the CCP GUI This was happening as the stop method in clusterMnanagerImpl was not getting callled. Added shutdown hooks to all sub contexts, this enables spring to call the stop mehtods of the beans when management server is shutting down. Conflicts: framework/spring/module/src/main/java/org/apache/cloudstack/spring/module/web/CloudStackContextLoaderListener.java You can merge this pull request into a Git repository by running: $ git pull https://github.com/bvbharatk/cloudstack CLOUDSTACK-8852 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/840.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #840 ---- commit 17a5d29b7008971cd7de963aa5a8db9f6cd3bd65 Author: Bharat Kumar <bharat.ku...@citrix.com> Date: 2015-04-21T11:15:12Z CLOUDSTACK-8852 Database shows that management server is UP when it is actually stopped from the CCP GUI This was happening as the stop method in clusterMnanagerImpl was not getting callled. Added shutdown hooks to all sub contexts, this enables spring to call the stop mehtods of the beans when management server is shutting down. Conflicts: framework/spring/module/src/main/java/org/apache/cloudstack/spring/module/web/CloudStackContextLoaderListener.java ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---