0

我在尝试使用 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

知道我该怎么做才能找到问题的根源吗?

4

0 回答 0