开发者社区> 问答> 正文

jfinal+beetl+tomcat7启动报错?报错

2014-1-13 21:47:27 net.sf.ehcache.CacheManager configure
警告: One or more caches require a DiskStore but there is no diskStore element configured. Using the default disk store path of D:\tomcat7\temp. Please explicitly configure the diskStore element in ehcache.xml.
2014-1-13 21:47:27 org.apache.shiro.cache.ehcache.EhCacheManager getCache
信息: Using existing EHCache named [myRealm.authorizationCache]
2014-1-13 21:47:27 org.apache.shiro.config.IniSecurityManagerFactory isAutoApplyRealms
信息: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.
2014-1-13 21:47:27 org.apache.shiro.web.config.IniFilterChainResolverFactory buildChains
警告: The [filters] section has been deprecated and will be removed in a future release!  Please move all object configuration (filters and all other objects) to the [main] section.
2014-1-13 21:47:27 org.apache.shiro.web.env.EnvironmentLoader initEnvironment
信息: Shiro environment initialized in 733 ms.
2014-1-13 21:47:27 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
2014-1-13 21:47:27 org.apache.catalina.core.StandardContext startInternal
严重: Context [/oa] startup failed due to previous errors
2014-1-13 21:47:27 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/oa] appears to have started a thread named [Beetl-Scanner] but has failed to stop it. This is very likely to create a memory leak.
2014-1-13 21:47:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7\webapps\ROOT
2014-1-13 21:47:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7\webapps\test
2014-1-13 21:47:27 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
2014-1-13 21:47:27 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
2014-1-13 21:47:27 org.apache.catalina.startup.Catalina start
信息: Server startup in 6130 ms
2014-1-13 21:48:27 org.apache.shiro.web.env.EnvironmentLoader initEnvironment
信息: Starting Shiro environment initialization.
2014-1-13 21:48:27 net.sf.ehcache.CacheManager configure
警告: One or more caches require a DiskStore but there is no diskStore element configured. Using the default disk store path of D:\tomcat7\temp. Please explicitly configure the diskStore element in ehcache.xml.
2014-1-13 21:48:28 org.apache.shiro.cache.ehcache.EhCacheManager getCache
信息: Using existing EHCache named [myRealm.authorizationCache]
2014-1-13 21:48:28 org.apache.shiro.config.IniSecurityManagerFactory isAutoApplyRealms
信息: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.
2014-1-13 21:48:28 org.apache.shiro.web.config.IniFilterChainResolverFactory buildChains
警告: The [filters] section has been deprecated and will be removed in a future release!  Please move all object configuration (filters and all other objects) to the [main] section.
2014-1-13 21:48:28 org.apache.shiro.web.env.EnvironmentLoader initEnvironment
信息: Shiro environment initialized in 671 ms.
2014-1-13 21:48:28 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
2014-1-13 21:48:28 org.apache.catalina.core.StandardContext startInternal
严重: Context [/oa] startup failed due to previous errors
2014-1-13 21:48:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/oa] appears to have started a thread named [Beetl-Scanner] but has failed to stop it. This is very likely to create a memory leak.

求解。。

展开
收起
爱吃鱼的程序员 2020-06-22 13:21:14 612 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    没有更具体信息,看一下tomcat/logs里面的localhost.log日志呢

    这个就是在日志文件里面拷出来的。之前是在本地用jetty容器运行,现在在服务器上用tomcate运行就启动报错

    最后一个严重问题解决了,剩下前面两个问题。求解<aclass='referer'target='_blank'>@绝望的八皮

    <divclass="body"><divclass="time"><atarget="_blank"rel="nofollow">[Beetl-Scanner] 是检测模版更新的线程
    回复<aclass='referer'target='_blank'>@小石头哥:参考http://xpenxpen.iteye.com/blog/1545648这个我用contextDestroyed()把他关闭了,但是还有不知道什么东西没关闭,导致上面两个严重报错,<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">ErrorfilterStart 似乎是这个导致的,看看你的Filter都干了什么

    2020-06-22 13:21:32
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
Apache Dubbo3 源码深入解读 立即下载
Java Spring Boot开发实战系列课程【第15讲】:Spring Boot 2.0 API与Spring REST Docs实战 立即下载