Commit abf36c30 authored by Dave Syer's avatar Dave Syer

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
parent 0793e188
...@@ -88,6 +88,10 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer { ...@@ -88,6 +88,10 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer {
this.sessionTimeout = sessionTimeout; this.sessionTimeout = sessionTimeout;
} }
public void setLoader(String value) {
// no op to support Tomcat running as a traditional container (not embedded)
}
@Override @Override
public void customize(ConfigurableEmbeddedServletContainerFactory factory) { public void customize(ConfigurableEmbeddedServletContainerFactory factory) {
factory.setPort(getPort()); factory.setPort(getPort());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment