Cloud Foundry 플러그인을 사용하고 있습니다. Config.groovy에서 내 자격 증명을 설정했습니다. 내가 얻은 오류에 대해 더 자세히 알려 줄 수 있습니까?Tomcat 컨텍스트가 중지됨 Grails GGTS Cloudfoundry 플러그인
Application Deployed URL: 'sqr-gb-ks.cloudfoundry.com'
>
Would you like to create and bind a mysql service?[y,n] > Invalid input. Must be one of [y,n] y
Service 'mysql-8a02c10' provisioned.
>
Would you like to create and bind a postgresql service?[y,n] > Invalid input. Must be one of [y,n] y
Service 'postgresql-d6ab9c9' provisioned.
| Creating application sqr-gb-ks at sqr-gb-ks.cloudfoundry.com with 1024MB and services [mysql-8a02c10, postgresql-d6ab9c9]: OK
| Uploading Application:
| Checking for available resources: OK
| Processing resources: OK
| Packing application: OK
| Uploading (50K): OK
| Trying to start Application: 'sqr-gb-ks'.....
| Error ERROR - Application 'sqr-gb-ks' failed to start, logs information below.
==== logs/stderr.log ====
Oct 22, 2012 4:57:47 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-25918
Oct 22, 2012 4:57:47 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 403 ms
Oct 22, 2012 4:57:47 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Oct 22, 2012 4:57:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 22, 2012 4:57:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Oct 22, 2012 4:57:47 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Oct 22, 2012 4:58:10 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 22, 2012 4:58:10 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Oct 22, 2012 4:58:10 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Oct 22, 2012 4:58:10 PM 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.
==== logs/stdout.log ====
[ Envjs/1.6 (Rhino; U; Linux amd64 2.6.38-15-virtual; en-US; rv:1.7.0.rc2) Resig/20070309 PilotFish/1.2.13 ]
[ Envjs/1.6 (Rhino; U; Linux amd64 2.6.38-15-virtual; en-US; rv:1.7.0.rc2) Resig/20070309 PilotFish/1.2.13 ]
[ Envjs/1.6 (Rhino; U; Linux amd64 2.6.38-15-virtual; en-US; rv:1.7.0.rc2) Resig/20070309 PilotFish/1.2.13 ]
[ Envjs/1.6 (Rhino; U; Linux amd64 2.6.38-15-virtual; en-US; rv:1.7.0.rc2) Resig/20070309 PilotFish/1.2.13 ]
Stopping Tomcat because the context stopped.
나는 cloud-foundry 플러그인을 사용했지만, 당신이 맞다. 나는 db 서비스를 망쳤다! 내 stacktrace.log 파일은 비어있다. tomcat/logs에 액세스하는 방법? 도와 줘서 고마워하지만 여전히 error.There 내 MySQL의 종속성에 뭔가 잘못 됐어, 내가 grails install-dependency mysql을 입력했다 : mysql-connector-java : 5.1.16 --dir = lib 그러나 또한 BuildConfig.groovy의 줄을 주석 처리했다. 런타임 'mysql : mysql 커넥터 java : 5.1.20'. 항아리와 lib 디렉토리를 삭제하는 방법? –
새로운 프로젝트. 조금 더 "더 좋아"! 여전히 오류 : SEVERE : 오류 listenerStart 2012 년 10 월 23 일 8:32:49 AM org.apache.catalina.core.StandardContext start 심각 : 컨텍스트 []가 이전 오류로 인해 시작하지 못했습니다. Oct 23, 2012 8:32:49 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 2012 년 10 월 23 일 8:32:49 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE : 웹 응용 프로그램 []이 [net] 스레드를 시작한 것으로 보입니다. [email protected]] ==== logs/stdout.log ==== 컨텍스트가 중지 되었기 때문에 Tomcat을 중지 중입니다. –