2012-02-09 2 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

Любая идея, где могут быть другие журналы? –

+0

% tomcat_home%/logs –

0

Вы используете какой-либо случайный плагин backgroundthread? Я видел, как Tomcat не смог ответить из-за плагина, который не отказывается от потока и не позволяет серверу отключиться правильно.