前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Tomcat8启动报there was insufficient free

Tomcat8启动报there was insufficient free

作者头像
拓荒者
发布2019-09-28 23:23:55
1.3K0
发布2019-09-28 23:23:55
举报
文章被收录于专栏:运维经验分享运维经验分享

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

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/PersonnelActio n.xml] to the cache because there was insufficient?free?space available after evicting expired cache entries - consider increasing the maximum size of the cache 09-Dec-2016 10:57:51.729 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.catalina.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.FutureTask.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.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Unable to complete the scan?for?annotations?for?web application [] due to a StackOverflowError. Possible root causes include a too lo w setting?for?-Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREnco dableVector->org.bouncycastle.asn1.ASN1EncodableVector] ????????at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2099) ????????at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2043) ????????at 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) ????????... 10?more

修改方法:

tomcat 中context.xml 配置文件加入

<Resources cachingAllowed="true" cacheMaxSize="100000" />

(adsbygoogle = window.adsbygoogle || []).push({});

本文参与?腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客?前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与?腾讯云自媒体分享计划? ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
http://www.vxiaotou.com