簡體   English   中英

Tomcat 8.5-緩存警告泛濫

[英]Tomcat 8.5 - Cache warning flood

我正在嘗試從Tomcat 8.0.37遷移到8.5.6

在這個新版本中, err控制台不斷被這些警告淹沒:

oct. 27, 2016 3:16:40 PM org.apache.catalina.webresources.Cache getResource
WARNING: Unable to add the resource at [/WEB-INF/lib/something.jar] 
to the cache because there was insufficient free space available after evicting expired cache entries - 
consider increasing the maximum size of the cache

我想配置servlet(web.xml或Spring)以忽略某些文件類型 (* .jar)的緩存

我已經閱讀了有關配置context.xml文件的信息,但這確實是解決實際問題的一種方法。

如何告訴Tomcat將所有內容記錄到slf4j?
我將此添加到清單中,但不起作用:

Dependencies: org.slf4j

緩存警告是由8.5.6中的一個已知錯誤引起的,該錯誤將在8.5.7中修復。 新版本應在一周左右的時間內可用。

如果要使用slf4j,請按照slf4j指令重定向java.util.logging輸出。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM