|
@@ -59,16 +59,6 @@ public class FessBoot extends TomcatBoot {
|
|
return new File(System.getProperty(JAVA_IO_TMPDIR), "fessboot").getAbsolutePath();
|
|
return new File(System.getProperty(JAVA_IO_TMPDIR), "fessboot").getAbsolutePath();
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- protected void reflectConfigToServer(Tomcat server, Connector connector, Properties props) { // you can override
|
|
|
|
- super.reflectConfigToServer(server, connector, props);
|
|
|
|
- final String bindAddress = props.getProperty("tomcat.bindAddress");
|
|
|
|
- if (bindAddress != null) {
|
|
|
|
- info(" tomcat.bindAddress = " + bindAddress);
|
|
|
|
- connector.setProperty("address", bindAddress);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
// ===================================================================================
|
|
// ===================================================================================
|
|
// main
|
|
// main
|
|
// ============
|
|
// ============
|