当我在本地机器上运行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