update tomcat-boot

This commit is contained in:
Shinsuke Sugaya 2015-10-24 18:30:32 +09:00
parent 07d97ff85d
commit 8ad12318ba
2 changed files with 3 additions and 11 deletions

View file

@ -39,7 +39,7 @@
<!-- Main Framework -->
<dbflute.version>1.1.0-sp8</dbflute.version>
<lastaflute.version>0.6.4</lastaflute.version>
<lastaflute.version>0.6.5-A-SNAPSHOT</lastaflute.version>
<lasta.taglib.version>0.6.0</lasta.taglib.version>
<servlet.version>3.1.0</servlet.version>
<jsp.version>2.3.1</jsp.version>
@ -66,7 +66,7 @@
<cluster.runner.version>1.7.0.1-SNAPSHOT</cluster.runner.version>
<!-- Tomcat -->
<tomcat.boot.version>0.3.8-RC6</tomcat.boot.version>
<tomcat.boot.version>0.3.8-C-SNAPSHOT</tomcat.boot.version>
<!-- Maven Repository -->
<maven.snapshot.repo.url>https://oss.sonatype.org/content/repositories/snapshots</maven.snapshot.repo.url>

View file

@ -49,15 +49,6 @@ public class FessBoot extends TomcatBoot {
return new File(System.getProperty(JAVA_IO_TMPDIR), "fessboot").getAbsolutePath();
}
@Override
protected void loadServerLoggingIfNeeds() {
try {
super.loadServerLoggingIfNeeds();
} catch (Exception e) {
// ignore
}
}
// ===================================================================================
// main
// ============
@ -73,6 +64,7 @@ public class FessBoot extends TomcatBoot {
.useTldDetect() // for JSP
.configure(FESS_ENV_PROPERTIES) // e.g. URIEncoding
.logging(LOGGING_PROPERTIES, op -> {
op.ignoreNoFile();
final String fessHomeDir = System.getProperty("fess.home");
if (fessHomeDir != null) {
op.replace("fess.home", fessHomeDir);