ehcache 读取不了配置文件

monster 发布于 2016/08/30 14:18
阅读 2K+
收藏 0

【领华为电脑包】容器化时代到来!跳转机分配问题终于“有救”了!>>>

我在 window server2008   , ubuntu   都测试正确,而且 这个错误是今天早上无缘无故报出来的,报错了就启动不了。启动报错如下。求大神解答下


环境   centos7   opjdk7  tomcat8

启动报错(以前都没有报错,今天上午 就无缘无故报错,然后就启不了)

30-Aug-2016 14:05:45.483 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
30-Aug-2016 14:05:45.484 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
2016-08-30 14:05:45,516 [localhost-startStop-1] INFO  [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Tue Aug 30 14:05:42 CST 2016]; root of context hierarchy
2016-08-30 14:05:45,521 [localhost-startStop-1] INFO  [com.alibaba.druid.pool.DruidDataSource] - {dataSource-1} closed
30-Aug-2016 14:05:45.530 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
30-Aug-2016 14:05:45.530 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
30-Aug-2016 14:05:45.531 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [__DEFAULT__] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.util.TimerThread.mainLoop(Timer.java:552)
 java.util.TimerThread.run(Timer.java:505)
30-Aug-2016 14:05:45.532 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Statistics Thread-__DEFAULT__-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 java.lang.Thread.run(Thread.java:745)
30-Aug-2016 14:05:45.544 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8066"]
30-Aug-2016 14:05:45.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8010"]
30-Aug-2016 14:05:45.657 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 6202 ms
30-Aug-2016 14:05:46.915 INFO [__DEFAULT__] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [net/sf/ehcache/version.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
 java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [net/sf/ehcache/version.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
        at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1325)
        at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:1060)
        at java.lang.Class.getResourceAsStream(Class.java:2111)
        at net.sf.ehcache.util.ProductInfo.parseProductInfo(ProductInfo.java:75)
        at net.sf.ehcache.util.ProductInfo.<init>(ProductInfo.java:40)
        at net.sf.ehcache.util.UpdateChecker.doCheck(UpdateChecker.java:118)
        at net.sf.ehcache.util.UpdateChecker.checkForUpdate(UpdateChecker.java:104)
        at net.sf.ehcache.util.UpdateChecker.run(UpdateChecker.java:95)
        at java.util.TimerThread.mainLoop(Timer.java:

以下是问题补充:

@monster:。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。已经解决。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 (2016/08/30 15:33)
加载中
当前问题已关闭评论
返回顶部
顶部