def configureProperties(self): for filename, dic in self.properties_options: utils.configurePropertiesWebApp(self.pretty_name, filename, self.section_name, dic) if self.properties_options: if CONFIG.isTrue("tomcat", "use_manager"): utils.putWait("Reloading " + self.pretty_name) utils.manageTomcat("reload?path=/" + self.cget("name")) else: utils.stopTomcat() utils.startTomcat() self.postConfigureProperties()
def install(self): # try to install if not installer.Installer.install(self): # else, get infos self.configure() utils.startTomcat()
def postConfigure(self): if self.cisTrue("jar_install"): lib = CONFIG.get("tomcat", "catalina_home") + "lib/" utils.sh_cp(self.cget("repo"), lib) utils.stopTomcat() utils.startTomcat()