2012-02-09 53 views
0

我得到這個在catalina.out的Grails的戰爭:無法當我嘗試部署Grails應用程序啓動上的Tomcat6

Feb 9, 2012 10:32:25 PM org.apache.catalina.core.StandardContext start 
SEVERE: Error listenerStart 
Feb 9, 2012 10:32:25 PM org.apache.catalina.core.StandardContext start 
SEVERE: Context [/application] startup failed due to previous errors 
Feb 9, 2012 10:32:25 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap 
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Transaction synchronizations]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. 
Feb 9, 2012 10:32:25 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap 
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. 
Feb 9, 2012 10:32:25 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap 
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Transactional resources]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. 
Feb 9, 2012 10:32:25 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap 
SEVERE: A web application created a ThreadLocal with key of type [org.codehaus.groovy.runtime.GroovyCategorySupport.MyThreadLocal] (value [[email protected]3872a921]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. 

運行的Grails 2.0下,Tomcat 6,Ubuntu的10.04。我以前沒有見過這樣的事情,這是我正在做的事/可以修復或與Tomcat的安裝方式有關嗎?

回答

2

真正的錯誤將出現在日誌目錄中的另一個日誌文件中。線程泄漏消息是一個問題,但這是關閉時的問題。你的啓動失敗是個問題,除了SEVERE: Context [/application] startup failed due to previous errors

+0

任何想法可能是其他日誌? – 2012-02-09 23:25:49

+0

%tomcat_home%/ logs – 2012-02-09 23:30:01

0

以外,你沒有描述過這個問題你是否正在運行backgroundthread插件?我看到Tomcat無法響應,因爲插件不會放棄線程並阻止服務器正確關閉。

相關問題