2014-01-24 229 views
0

试图部署.war文件并收到此错误消息。这让我感到非常意外,因为我刚刚在前一天部署了一个.war文件,并且两者之间的变化很小(更改了跟踪日期的变量的值,直到cron作业执行)。我确实忽略了IntelliJ创建的自动生成的.iml文件,可以这样做吗?需要帮助解决错误信息

'2014-01-24 08:47:45,480 [Thread-10] WARN config.ConfigurationFactory - No configuration found. Configuring ehcac            he from ehcache-failsafe.xml found in the classpath: jar:file:/var/opt/tomcat/webapps/PerformanceEvaluations-moved            /WEB-INF/lib/ehcache-core-2.4.6.jar!/ehcache-failsafe.xml 
''2014-01-24 08:47:46,117 [Thread-10] WARN hibernate.AbstractEhcacheRegionFactory - Couldn't find a specific ehca            che configuration for cache named [edu.wisc.radiology.performanceevaluations.Role]; using defaults. 
' ==> PerformanceEvaluations_main.log <== '2014-01-24 08:47:45,480 [Thread-10] WARN config.ConfigurationFactory - No configuration found. Configuring ehcac            he from ehcache-failsafe.xml found in the classpath: jar:file:/var/opt/tomcat/webapps/PerformanceEvaluations-moved            /WEB-INF/lib/ehcache-core-2.4.6.jar!/ehcache-failsafe.xml 
''2014-01-24 08:47:46,117 [Thread-10] WARN hibernate.AbstractEhcacheRegionFactory - Couldn't find a specific ehca            che configuration for cache named [edu.wisc.radiology.performanceevaluations.Role]; using defaults. 
' ==> catalina.out <== 
'2014-01-24 08:47:49,046 [Thread-10] WARN servlet.DefaultGrailsApplicationAttributes - ApplicationContext not fou            nd in org.codehaus.groovy.grails.APPLICATION_CONTEXT attribute of servlet context. 
' ==> PerformanceEvaluations_main.log <== 
'2014-01-24 08:47:49,046 [Thread-10] WARN servlet.DefaultGrailsApplicationAttributes - ApplicationContext not fou            nd in org.codehaus.groovy.grails.APPLICATION_CONTEXT attribute of servlet context. 
' ==> catalina.out <== 
'2014-01-24 08:47:50,112 [Thread-10] WARN module.ModuleDeclarationsFactory - 'grails.resources.modules' in config            does not define any modules 
'==> PerformanceEvaluations_main.log <== 
'2014-01-24 08:47:50,112 [Thread-10] WARN module.ModuleDeclarationsFactory - 'grails.resources.modules' in config            does not define any modules 
' ==> catalina.out <== 
Parsing DB Changelog 
+0

发现此帖子 http://grails.1312388.n4.nabble.com/Unsolvable-warnings-due-to-db-reverse-engineer-plugin-td4427619.html – paul

+0

这似乎有一个类似的问题,问题是错误日志记录太高 – paul

回答

3

我看不到任何错误消息,只有警告。而且都是无害的。例如关于Ehcache的标准。如果你没有提供自定义的ehcache.xml,它默认为jar文件中的一个,并打印出一些消息。您可以创建自己的 - 通常是默认文件的修改版本 - 并将其放入类路径的根目录中(grails-app/conf和src/java中的非Groovy文件将被复制到类路径中,所以它是一个很好的位置),它将被用来代替。即使您只是在文件中保留默认值,这也是一个很好的做法,以便稍后进行配置。默认值是比较保守的,例如TTL默认只有2分钟。

+0

感谢burt,你对你的帖子和编辑有帮助 – paul