update tomcat-boot
This commit is contained in:
parent
ae75f980db
commit
762a3043bd
2 changed files with 5 additions and 11 deletions
6
pom.xml
6
pom.xml
|
@ -67,7 +67,7 @@
|
|||
<cluster.runner.version>2.3.0.0</cluster.runner.version>
|
||||
|
||||
<!-- Tomcat -->
|
||||
<tomcat.boot.version>0.5.0-RC1</tomcat.boot.version>
|
||||
<tomcat.boot.version>0.5.0-RC2</tomcat.boot.version>
|
||||
|
||||
<!-- DEB & RPM build -->
|
||||
<packaging.fess.home.dir>/usr/share/fess</packaging.fess.home.dir>
|
||||
|
@ -1242,6 +1242,10 @@
|
|||
<groupId>org.apache.tomcat</groupId>
|
||||
<artifactId>tomcat-util-scan</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.tomcat</groupId>
|
||||
<artifactId>tomcat-juli</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
|
|
|
@ -59,16 +59,6 @@ public class FessBoot extends TomcatBoot {
|
|||
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
|
||||
// ============
|
||||
|
|
Loading…
Add table
Reference in a new issue