FIX : reference to TomcatApplication class was broken.

master
Rémi Cocula 7 years ago
parent 3312f5c114
commit f28a9c697c
  1. 2
      airsonic-main/src/main/java/org/airsonic/player/Application.java

@ -199,7 +199,7 @@ public class Application extends SpringBootServletInitializer implements Embedde
if(tomcatESCF.isInstance(container)) {
LOG.debug("Attempting to optimize tomcat");
Object tomcatESCFInstance = tomcatESCF.cast(container);
Class<?> tomcatApplicationClass = Class.forName("TomcatApplication");
Class<?> tomcatApplicationClass = Class.forName("org.airsonic.player.TomcatApplication");
Method configure = ReflectionUtils.findMethod(tomcatApplicationClass, "configure", tomcatESCF);
configure.invoke(null, tomcatESCFInstance);
LOG.debug("Tomcat optimizations complete");

Loading…
Cancel
Save