文档章节

The main resource set specified [/tmp/tomcat-docbase.5063501203886177649.7000] is not valid

o
 osc_wws45aot
发布于 2019/08/21 16:01
字数 654
阅读 12
收藏 0

精选30+云产品,助力企业轻松上云!>>>

启动某个springboot项目的时候,后台报错 The main resource set specified [/tmp/tomcat-docbase.5063501203886177649.7000] is not valid

具体错误信息如下:

 1 4:13:45.022 logback [main] ERROR o.s.boot.SpringApplication - Application startup failed
 2 org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
 3     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)
 4     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
 5     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
 6     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
 7     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
 8     at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
 9     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
10     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
11     at com.xxl.job.executor.XxlJobExecutorApplication.main(XxlJobExecutorApplication.java:19)
12     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
14     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
15     at java.lang.reflect.Method.invoke(Method.java:498)
16     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
17     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
18     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
19     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
20 Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
21     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:138)
22     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:87)
23     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:554)
24     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:179)
25     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)
26     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)
27     ... 16 common frames omitted
28 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]]
29     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
30     at org.apache.catalina.startup.Tomcat.start(Tomcat.java:366)
31     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:114)
32     ... 21 common frames omitted
33 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]]
34     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
35     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
36     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
37     ... 23 common frames omitted
38 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat]]
39     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
40     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
41     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
42     ... 25 common frames omitted
43 Caused by: org.apache.catalina.LifecycleException: A child container failed during start
44     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:950)
45     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
46     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
47     ... 27 common frames omitted
48 Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
49     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
50     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
51     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
52     ... 29 common frames omitted
53 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
54     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
55     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1420)
56     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)
57     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
58     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
59     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
60     at java.lang.Thread.run(Thread.java:748)
61 Caused by: org.apache.catalina.LifecycleException: A child container failed during start
62     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:950)
63     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
64     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
65     ... 6 common frames omitted
66 Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]
67     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
68     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
69     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
70     ... 8 common frames omitted
71 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]
72     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
73     ... 6 common frames omitted
74 Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@63518bbd]
75     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
76     at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4907)
77     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5042)
78     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
79     ... 6 common frames omitted
80 Caused by: java.lang.IllegalArgumentException: The main resource set specified [/tmp/tomcat-docbase.5063501203886177649.7000] is not valid
81     at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:748)
82     at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:706)
83     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

本次问题的解决方法如下,作为个人记录

 由于在线上服务器经常遇到磁盘满的问题,所以这次也特第看了一下

命令: df -h

果然是磁盘满了,但是没有截图,是清理完成之后才截的图, /dev/mapper/vg_centos6-lv_root 这个目录达到了100%

清理工作:

参考 : https://blog.csdn.net/cwd79457245/article/details/59522838

 

o
粉丝 0
博文 500
码字总数 0
作品 0
私信 提问
加载中
请先登录后再评论。

暂无文章

Mysql主从同步

1主从同步 1.1Master 1.1.1配置--编辑 my.cnf #编辑 mysql 的 /etc/my.cnf 配置文件vi /etc/my.cnf#添加如下配置server-id=1 #设置服务 IDlog_bin=mysql-bin #启动 binlog...

风雪满弓刀
36分钟前
14
0
修复 `管道菜单“/usr/bin/obamenu”的输出无效 `错误

修复 管道菜单“/usr/bin/obamenu”的输出无效 错误 英文提示应该是 invalid output from pipe-menu "obamenu" 使用 openbox 菜单时碰到了这个错误,上网搜了一下,找到了原因,也就想到了解...

tankb52
51分钟前
13
0
2020最新微信域名防封技术 微信域名防封系统是如何操作的

相信很多朋友在运营自己产品的网站或者是推广链接的时候,经常会发现运行的好好的网站链接突然就被封了,有一部分因为可能是网站的内容触犯了微信的规则,但是还有很大的一部分被同行恶意投诉...

戚馨逸
今天
11
0
mysql 为什么 SQL 语句不要过多的 join?

第一部分 Linux上查看内存的使用情况该用什么命令 free -mh 可以看到内存或者缓存情况 total 总内存 used 已用内存 free 空闲内存 buff/cache 已使用的缓存 avaiable 可用内存 怎么清理已使...

edison_kwok
今天
17
0
芒果TV的金融野心从未停止

来源|WEMONEY研究室 作者|林小林 芒果TV是真的会讲故事,《乘风破浪的姐姐》不仅是生活的故事更是资本的故事,30位姐姐让一款节目累计播放量飙升10亿,同时让背后的上市公司芒果超媒市值站...

镭射财经
今天
4
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部