Web/Tomcat
[Tomcat] memory leak
코린이예요
2018. 8. 27. 11:52
반응형
웹 어플리케이션 개발 중
다음과 같은 톰캣에러가 발생하였다.
1 2 3 4 5 6 7 8 9 | 57 Aug 27, 2018 11:16:31 AM org.apache.catalina.core.StandardContext startInternal 58 SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file 59 Aug 27, 2018 11:16:31 AM org.apache.catalina.core.StandardContext startInternal 60 SEVERE: Context [/aui] startup failed due to previous errors 61 Aug 27, 2018 11:16:31 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc 62 SEVERE: The web application [/aui] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 63 Aug 27, 2018 11:16:31 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 64 SEVERE: The web application [/aui] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. | cs |
구글링을 좀 해보니 Tocat에서 거의 항상 나오는 문제라고 한다. 톰캣의 context를 reload할때 memory leak 때문에 실제로 OutOfMemory Exception이 발생한다고 하는데. 무시해도 된다고.... 정 해결하고 싶으면
해결 방법?
MySQL JDBC 드라이버를 최신으로 업그레이드 한다.
reference : https://groups.google.com/forum/#!topic/ksug/_nKSKIa8xlg
반응형