在没有云代工grails-plugin的情况下将grails 2.0.3应用程序部署到cloudfoundry?

时间:2012-05-13 12:33:14

标签: eclipse tomcat grails gorm cloudfoundry

我可以使用云代工grails插件和cf-push部署我的grails 2.0.3应用程序到云端,一切正常。

现在我想使用sts / eclipse cloud foundry扩展来使用eclipse进行部署(不使用grails命令cf-push!)并在服务器视图中查看服务器实例等等。

我使用eclipse插件创建了一个新的cloudfoundry实例,并且部署但是中止了错误消息:

May 14, 2012 10:39:21 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-19036
May 14, 2012 10:39:21 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 377 ms
May 14, 2012 10:39:21 AM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
May 14, 2012 10:39:21 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 14, 2012 10:39:21 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
May 14, 2012 10:39:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT

Configuring Spring Security Core ...
... finished configuring Spring Security Core

May 14, 2012 10:39:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 14, 2012 10:39:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
May 14, 2012 10:39:32 AM org.apache.catalina.loader.WebappClassLoader         clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named    [net.sf.ehcache.CacheManager@1edb587] but has failed to stop it. This is very likely to create   a memory leak.
May 14, 2012 10:39:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [projectBee.Requestmap.data] but has failed to stop it. This is very likely to create a memory leak.
May 14, 2012 10:39:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [projectBee.Role.data] but has failed to stop it. This is very likely to create a memory leak.
May 14, 2012 10:39:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [org.hibernate.cache.UpdateTimestampsCache.data] but has failed to stop it. This is very likely to create a memory leak.
May 14, 2012 10:39:32 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [org.hibernate.cache.StandardQueryCache.data] but has failed to stop it. This is very likely to create a memory leak.

Stopping Tomcat because the context stopped.

这里有人知道这个问题的解决方案吗?谢谢!

1 个答案:

答案 0 :(得分:1)

您需要查看具有堆栈跟踪和详细错误消息的真实日志文件。使用vmc命令行客户端或STS。有一个/ logs文件夹可能没有你想要的东西,但也有/ tomcat / logs可能有。另请查看stacktrace.log。