jfinal+beetl+tomcat7启动报错

小石头哥 发布于 2014/01/13 21:55
阅读 1K+
收藏 1
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.
求解。。
加载中
0
绝望的八皮
绝望的八皮
没有更具体信息,看一下tomcat/logs里面的localhost.log日志呢
0
小石头哥
小石头哥

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

0
小石头哥
小石头哥

最后一个严重问题解决了,剩下前面两个问题。求解@绝望的八皮

0
zqq90
zqq90
[Beetl-Scanner] 是检测模版更新的线程
zqq90
zqq90
回复 @小石头哥 : 参考http://xpenxpen.iteye.com/blog/1545648
小石头哥
小石头哥
这个我用contextDestroyed()把他关闭了,但是还有不知道什么东西没关闭,导致上面两个严重报错,
0
闲大赋
闲大赋
Error filterStart  似乎是这个导致的,看看你的Filter都干了什么
返回顶部
顶部