Ensure CSS modules are closed before blueprint containers on shutdown
[controller.git] / karaf / opendaylight-karaf-resources / src / main / resources / etc / custom.properties
index 56ba06ecaf6bc15fb8492299d192a04e224e3f0a..3eddcf38b33e9e69baa7eeb7fd82362304bf5e39 100644 (file)
@@ -20,6 +20,13 @@ karaf.delay.console=true
 # Set security provider to BouncyCastle
 org.apache.karaf.security.providers = org.bouncycastle.jce.provider.BouncyCastleProvider
 
+# We set this to false to disable the Aries BlueprintExtender from doing its orderly container
+# shutdown so we can do it after the CSS has shut down all its modules. Otherwise Aries will
+# shutdown blueprint containers when the karaf framework starts shutdown (ie when bundle 0 is
+# stopped) which can cause failures on CSS module shutdown due to the core blueprint containers
+# and services already being shut down. This setting can be removed when/if CSS is removed
+# completely from ODL.
+org.apache.aries.blueprint.preemptiveShutdown=false
 
 netconf.config.persister.active=1