diff --git a/grails-app/conf/BootStrap.groovy b/grails-app/conf/BootStrap.groovy index 5d1590f8..86223b22 100644 --- a/grails-app/conf/BootStrap.groovy +++ b/grails-app/conf/BootStrap.groovy @@ -18,9 +18,15 @@ import grails.converters.JSON class BootStrap { + /** This "unused" variable needs to be declared here in order to get the referenced service initialized early. */ + def cacheLoadStartService + def configService def initService + /** This "unused" variable needs to be declared here in order to get the referenced service initialized early. */ + def monkeyPatcherService + def init = { servletContext -> if (configService.appConfigured) { // Only start warming the caches if Asgard has been configured initService.initializeApplication()