我正在努力解决在Tomcat7的新环境中尝试启动Grails 2.0.4应用程序的问题。我试图记录所有内容,但我无法找到问题的根源。
catalina.out中的输出是
SEVERE: Context [/comenego] startup failed due to previous errors
查看应用程序的特定日志,我根本看不到任何错误。最后几行是:
2014-01-26 12:57:18,687 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Field.cpm.xml]
2014-01-26 12:57:18,698 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Company.cpm.xml]
2014-01-26 12:57:18,713 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/User.cpm.xml]
2014-01-26 12:57:18,725 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Author.cpm.xml]
2014-01-26 12:57:18,736 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/TextType.cpm.xml]
2014-01-26 12:57:18,758 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Text.cpm.xml]
2014-01-26 12:57:18,766 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/SourceType.cpm.xml]
2014-01-26 12:57:18,773 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Copyright.cpm.xml]
2014-01-26 12:57:18,782 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Language.cpm.xml]
2014-01-26 12:57:18,798 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Paragraph.cpm.xml]
2014-01-26 12:57:18,811 [pool-2-thread-1] INFO config.CompassConfiguration - Mapping InputStream [package/corpus/Discourse.cpm.xml]
2014-01-26 12:57:38,058 [pool-2-thread-1] INFO util.SessionIdGenerator - Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [19,039] milliseconds.
我几乎100%确定问题出现是因为我使用的是Searchable插件版本0.6.3,而且数据库目前变得非常大,但我在本地我使用的是与生产中相同的数据库,它开始没有任何问题,我的笔记本电脑没有更多的服务器资源。
这些是我正在使用的工具:
Grails 2.0.4 JDK 1.7.0_51 Ubuntu 12.04 Tomcat 7
知道我该怎么做才能找到问题的根源?