Here is insufficient free space available after evicting expired cache Entries-consider increasing the maximum size of The cache

Source: Internet
Author: User
Tags addchild

The following error was reported after Tomcat restart:

09-dec-2016 10:57:49.150 WARNING [localhost-startstop-1] Org.apache.catalina.webresources.Cache.getResource Unable To add the resource at [/web-inf/classes/struts/personnelaction.xml] to the cache because there is insufficient free SPAC E available after evicting expired cache Entries-consider increasing the maximum size of the cache09-dec-2016 10:57:51.7 SEVERE [localhost-startstop-1] org.apache.catalina.core.ContainerBase.addChildInternal containerbase.addchild: start:org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina]. Standardhost[localhost]. Standardcontext[] at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:158) at Org.apache.cat Alina.core.ContainerBase.addChildInternal (containerbase.java:724) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:700) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:734) at Org.apache.catalina.startup.HostConfig.deplOydirectory (hostconfig.java:1107) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (HostConfig.java : 1841) at Java.util.concurrent.executors$runnableadapter.call (executors.java:511) at Java.util.concurrent.Fu Turetask.run (futuretask.java:266) at Java.util.concurrent.ThreadPoolExecutor.runWorker (Threadpoolexecutor.java : 1142) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) at Java.lang.Threa D.run (thread.java:745) caused By:java.lang.IllegalStateException:Unable to complete the scan for annotations for web APPL Ication [] due to a stackoverflowerror. Possible root causes include a too low setting for-xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.asn1encodablevector-> Org.bouncycastle.asn1.derencodablevector->org.bouncycastle.asn1.asn1encodablevector] At Org.apache.catalina.startup.ContextConfig.checkHandlesTypes (contextconfig. java:2099) at Org.apache.catalina.startup.ContextConfig.processAnnotationsStream (contextconfig.java:2043) A T Org.apache.catalina.startup.ContextConfig.processAnnotationsJar (contextconfig.java:1989) at Org.apache.catalina . Startup. Contextconfig.processannotationsurl (contextconfig.java:1959) at Org.apache.catalina.startup.ContextConfig.processAnnotations (contextconfig.java:1912) at Org.apache.catalina.startup.ContextConfig.webConfig (contextconfig.java:1154) at Org.apache.catalina.startup.ContextConfig.configureStart (contextconfig.java:771) at Org.apache.catalina.startup.ContextConfig.lifecycleEvent (contextconfig.java:298) at Org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (lifecyclebase.java:94) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5076) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:152) ... Ten more

  

Because the system to load a lot of pictures, and tomcat8 above to resource took the cache, and the default size is 10M. This limit may be exceeded, so Tomcat is not up.

The solution is to adjust the cache in Context.xml, as follows:

Add to </context> before you can.

Here is insufficient free space available after evicting expired cache Entries-consider increasing the maximum size of The cache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.