Tomcat падает после вызова веб-службы, развернутого на Tomcat - PullRequest
0 голосов
/ 19 февраля 2020

Развертывание веб-службы на tomcat 7.0.99

Tomcat работает на MacOS. Мы выполняем несколько вызовов веб-службы для службы, развернутой на Tomcat. После завершения первого вызова службы, происходит сбой tomcat (даже другие службы находятся в процессе обработки).

Когда я проверил в catalina.out путь / logs /, найденный ниже logs

Фрагмент журнала:

Feb 18, 2020 4:53:57 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8084"]
Feb 18, 2020 4:53:57 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8012"]
Feb 18, 2020 4:53:57 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service [Catalina]
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
SEVERE: The web application [/SampleTestWS] 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.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [Thread-2] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [Exec Default Executor] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [Exec Stream Pumper] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [Exec Stream Pumper] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [OkHttp ConnectionPool] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/SampleTestWS] appears to have started a thread named [Okio Watchdog] but has failed to stop it. This is very likely to create a memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/SampleTestWS] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@531e8197]) and a value of type [io.appium.java_client.android.AndroidDriver] (value [io.appium.java_client.android.AndroidDriver, Capabilities: {app=/volumes/fileshare/InstallationFiles/Android/FoxFast.apk, appPackage=com.fox.foxfast.universal.integ, automationName=UIAutomator2, databaseEnabled=false, desired={platformName=android, app=/volumes/fileshare/InstallationFiles/Android/FoxFast.apk, automationName=UIAutomator2, deviceName=OnePlus GM1901, noReset=true, platformVersion=10, udid=e7f349bf}, deviceApiLevel=29, deviceManufacturer=OnePlus, deviceModel=GM1901, deviceName=e7f349bf, deviceScreenDensity=380, deviceScreenSize=1080x2340, deviceUDID=e7f349bf, javascriptEnabled=true, locationContextEnabled=false, networkConnectionEnabled=true, noReset=true, pixelRatio=2.375, platform=LINUX, platformName=Android, platformVersion=10, statBarHeight=80, takesScreenshot=true, udid=e7f349bf, viewportRect={left=0, top=80, width=1080, height=2066}, warnings={}, webStorageEnabled=false}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Feb 18, 2020 4:53:57 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/SampleTestWS] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4f56cd3c]) and a value of type [io.appium.java_client.service.local.AppiumDriverLocalService] (value [io.appium.java_client.service.local.AppiumDriverLocalService@53bd2ff]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Feb 18, 2020 4:53:57 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8084"]
Feb 18, 2020 4:53:57 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8012"]
Feb 18, 2020 4:53:57 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8084"]
Feb 18, 2020 4:53:57 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8012"]

Может кто-нибудь сообщить мне, как решить эту проблему.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...