From 56b83430882b226506cb5da32f91632c92ae41fa Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 1 Nov 2013 15:39:55 -0400 Subject: [PATCH] VIVO-452 LoggingRDFService may still require config properties after the main thread has shut down. --- .../vitro/webapp/config/ConfigurationPropertiesSetup.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/config/ConfigurationPropertiesSetup.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/config/ConfigurationPropertiesSetup.java index 55b00be17..410e9e76b 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/config/ConfigurationPropertiesSetup.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/config/ConfigurationPropertiesSetup.java @@ -267,7 +267,8 @@ public class ConfigurationPropertiesSetup implements ServletContextListener { @Override public void contextDestroyed(ServletContextEvent sce) { - ConfigurationProperties.removeBean(sce.getServletContext()); + // No need to remove the bean. It's only a map of strings, and if we + // restart the app, it will be replaced. } /**