but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC
のようなエラーが出る時。
具体的には以下のような。
1 2 3 4 5 6 7 8 9 |
4 30, 2014 11:23:48 午前 org.apache.catalina.core.StandardContext startInternal 重大: Error listenerStart 4 30, 2014 11:24:11 午前 org.apache.catalina.core.StandardContext startInternal 重大: 以前のエラーのためにコンテキストの起動が失敗しました [/context_name] 4 30, 2014 11:24:11 午前 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 重大: The web application [/context_name] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 4 30, 2014 11:24:11 午前 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 重大: The web application [/context_name] appears to have started a thread named [net.sf.ehcache.CacheManager@47bfd21b] but has failed to stop it. This is very likely to create a memory leak. 4 30, 2014 11:24:11 午前 org.apache.catalina.startup.HostConfig deployDirectory |
英語だとこんな感じになって出ている
1 2 3 4 5 6 7 8 9 |
Apr 30, 2014 11:16:46 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Apr 30, 2014 11:16:46 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/context_name] startup failed due to previous errors Apr 30, 2014 11:16:46 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/context_name] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Apr 30, 2014 11:16:46 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/context_name] appears to have started a thread named [net.sf.ehcache.CacheManager@527fde61] but has failed to stop it. This is very likely to create a memory leak. Apr 30, 2014 11:16:46 AM org.apache.catalina.startup.HostConfig deployDirectory |
DataSource.groovy の設定で、dbCreate が validate なっており実際のDBの構造とGrailsが要求しているもので齟齬している。
DDLを直して、DBを再構成すればよい。