當我在本地機器上運行grails run-war時,我的grails戰爭運行良好,但當我上傳到我的ubuntu服務器時,我給了我以下錯誤 這裏我需要一件重要的事情一提的是(我已經上傳相同war文件更早一天,它是工作,當我取消部署,並部署它,它顯示我的錯誤) 我甚至測試相同的戰爭文件中的某些其他的Windows系統也工作正常在Tomcat中部署Grails戰爭時顯示錯誤
Feb 18, 2012 11:43:48 AM 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 18, 2012 11:43:48 AM 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]80fb85]) 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 18, 2012 11:43:48 AM 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 18, 2012 11:43:48 AM 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 18, 2012 11:43:48 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [null] (value [org.codehaus.groov[email protected]ef96]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
而且,這個警告後它是否工作?其實它只是*未部署*應用程序,不*部署* – 2012-02-18 12:36:21
@splix該項目未運行您能幫助我們 – 2012-02-18 13:01:27
您是否還有其他錯誤?也許'PermGem space'錯誤?您是否嘗試重新啓動Tomcat? – 2012-02-18 13:06:56