DBILITY

독거 가능성 100% 노후에 라면값이라도 하게 센스를 발휘합시다!😅
Please click on the ad so that I can pay for ramen in my old age!
点击一下广告,让老后吃个泡面钱吧!
老後にラーメン代だけでもするように広告を一回クリックしてください。

tomcat cache error 본문

was

tomcat cache error

DBILITY 2022. 8. 4. 19:22
반응형
the background cache eviction process was unable to free 10 percent of the cache for context[] - consider increasing the maximum size of the cache.

 

캐시가 부족하다는 오류가 발생했다.

conf안의 context.xml에 다음과 같이(Resouces) 추가한다.다른 블로그에 보니 100M이라고 한다.

또 MultiPart 업로드 관련 오류도 발생했다. Context부분에 path와 allowCasualMultipartParsing을 추가했다.

<Context path="/" allowCasualMultipartParsing="true" >

    <!-- Default set of monitored resources. If one of these changes, the    -->
    <!-- web application will be reloaded.                                   -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->

    <!-- Uncomment this to enable Comet connection tacking (provides events
         on session expiration as well as webapp lifecycle) -->
    <!--
    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
    -->
        <Resources cachingAllowed="true" cacheMaxSize="102400"/>
</Context>

 

반응형
Comments