#author("2018-08-20T12:31:11+00:00","default:yusami","yusami") #author("2018-08-20T21:14:55+00:00","default:yusami","yusami") #contents &tag(Jetty); * 情報 [#j3e15d61] - [[Jetty - Servlet Engine and Http Server>https://www.eclipse.org/jetty/]] Eclipse Jetty is used in a wide variety of projects and products, both in development and production. - [[Eclipse Jetty for Windows>http://exewrap.osdn.jp/jetty/#usage]] Windows環境でサービスとして動作するようにしたJettyの派生バージョンが Jetty for Windows です。 -- 問題:動作は問題ないが、下記のようなワーニングが多数出る。(2018/08/20) [WARNING] javax.servlet.http.WebConnection scanned from multiple locations: jar:file:///Users/foo/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar!/javax/servlet/http/WebConnection.class, jar:file:///Users/foo/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar!/javax/servlet/http/WebConnection.class * [[Maven]] [#d53475c7] - [[MavenでJettyを動かす>https://qiita.com/moris/items/4538773013d4e17ddecc]] 実行は、mvn jetty:run を実行するだけです。 -- 問題:動作は問題ないが、下記のようなワーニングが多数出る。(2018/08/20) [WARNING] javax.servlet.http.WebConnection scanned from multiple locations: jar:file:///Users/foo/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar!/javax/servlet/http/WebConnection.class, jar:file:///Users/foo/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar!/javax/servlet/http/WebConnection.class * [[ログ]] [#q9e5cc0c] ** 設定 [#qb5e4eba] - [[Configuring Jetty Request Logs v9.2>http://www.eclipse.org/jetty/documentation/9.2.21.v20170120/configuring-jetty-request-logs.html]] <Configure class="org.eclipse.jetty.webapp.WebAppContext"> ... <Set name="handler"> <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"> - [[Configuring Jetty Request Logs v9.3.0>http://www.eclipse.org/jetty/documentation/9.3.0.v20150612/configuring-jetty-request-logs.html]] <Configure class="org.eclipse.jetty.webapp.WebAppContext"> ... <Set name="handler"> <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"> - [[History for src/docbkx/administration/logging/configuring-jetty-request-logs.xml - jetty-project/jetty-documentation>https://github.com/jetty-project/jetty-documentation/commits/master/src/docbkx/administration/logging/configuring-jetty-request-logs.xml]] -- [[486530 Handler added to WebAppContext prevents ServletContext initia… · jetty-project/jetty-documentation@1c524d9>https://github.com/jetty-project/jetty-documentation/commit/1c524d91ec579a551edea25bfad2bcf058ed6e3d]] - [[Configuring Jetty Request Logs v9.3.x>http://www.eclipse.org/jetty/documentation/9.3.x/configuring-jetty-request-logs.html]] <Configure class="org.eclipse.jetty.webapp.WebAppContext"> ... <Call name="insertHandler"> <Arg> <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"> - [[Configuring Jetty Request Logs v9.4.x>http://www.eclipse.org/jetty/documentation/9.4.x/configuring-jetty-request-logs.html]] <Configure class="org.eclipse.jetty.webapp.WebAppContext"> ... <Call name="insertHandler"> <Arg> <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">