Add back no-op setLoader to ServerProperties

Tomcat starts up with server.loader System property set so
we need to accept that.

[Fixes #50806851] [bs-141]
First class escape hatch from jar to war for web applications
pull/9/head
Dave Syer 11 years ago
parent 0793e18857
commit abf36c30f9

@ -88,6 +88,10 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer {
this.sessionTimeout = sessionTimeout;
}
public void setLoader(String value) {
// no op to support Tomcat running as a traditional container (not embedded)
}
@Override
public void customize(ConfigurableEmbeddedServletContainerFactory factory) {
factory.setPort(getPort());

Loading…
Cancel
Save