2012-05-13 3 views
0

클라우드 파운드리 grails 플러그인과 cf-push를 사용하여 클라우드에 내 grails 2.0.3 앱을 배포 할 수 있으며 모든 것이 올바르게 작동합니다.클라우드 파운드리 grails-plugin없이 cloudfoundry에 grails 2.0.3 응용 프로그램을 배포 하시겠습니까?

이제 sts/eclipse 클라우드 파운드리 확장을 사용하여 eclipse (grails 명령 cf-push!가 아닌)로 배치하고 서버보기에서 서버 인스턴스를 볼 수 있습니다.

나는 이클립스 플러그인으로 새 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 [[email protected]] 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

stacktrace 및 자세한 오류 메시지가있는 실제 로그 파일을 확인해야합니다. vmc 명령 행 클라이언트 또는 STS를 사용하십시오. 거기에는 아마도/톰캣/로그 아마도 당신이 원하는 것을 가지고 있지/로그 폴더가 아마도 않습니다. stacktrace.log도 확인하십시오.

+0

감사합니다. Burt, 전체 스택 추적 로그를 첫 번째 게시물에 추가했습니다. 내가 실수를 찾을 수 없습니다 ... – whitenexx

+0

어쩌면 그것은 내 bootstraps, 내가 어떤 역할과 Requestmaps를 만드는 것과 관련이 있습니까? – whitenexx

+0

sts-cf-plugin으로 만든 mysql 서비스를 사용하여 cf-push로 배포하면 작동하지 않습니다 (같은 오류). cf-grails-plugin으로 생성 된 mysql-service를 사용하면 문제없이 작동합니다! 어쩌면 mysql/service 문제가있을 수 있습니까? – whitenexx