0

我可以使用 Cloud Foundry 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.

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

4

1 回答 1

1

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

于 2012-05-14T03:16:35.027 回答