Hi Sheldon,
here's the log I can get from catalina.out around the time when this exception happened.
Just before the exception I can see repated log lines of the type:
26-Nov-2020 17:22:56.009 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [gtfs-v1] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can cont
rol the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
java.net.SocketInputStream.read(SocketInputStream.java:171)
java.net.SocketInputStream.read(SocketInputStream.java:141)
java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
java.io.BufferedInputStream.read(BufferedInputStream.java:345)
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:112)
com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:296)
com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:171)
com.sun.proxy.$Proxy104.getStopsForRoute(Unknown Source)
sun.reflect.GeneratedMethodAccessor339.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.remoting.caucho.HessianClientInterceptor.invoke(HessianClientInterceptor.java:248)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
com.sun.proxy.$Proxy105.getStopsForRoute(Unknown Source)
org.onebusaway.api.actions.api.where.StopsForRouteAction.show(StopsForRouteAction.java:97)
.....................................................................................................................................................................
.....................................................................................................................................................................
.....................................................................................................................................................................
then there's a repeated sequence which goes like:
26-Nov-2020 17:22:56.393 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [gtfs-v1] created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [LocaleContext])
and a value of type [org.springframework.context.i18n.SimpleLocaleContext] (value [en]) 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.
26-Nov-2020 17:22:56.394 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [gtfs-v1] created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Request attribut
es]) and a value of type [org.springframework.web.context.request.ServletRequestAttributes] (value [org.apache.catalina.connector.RequestFacade@3a0abab4]) 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.
.....................................................................................................................................................................
.....................................................................................................................................................................
.....................................................................................................................................................................
and then:
26-Nov-2020 17:22:56.493 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [onebusaway-transit-data-federation-webapp] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it w
hen the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
26-Nov-2020 17:22:56.499 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-8080"]
2020-11-26 17:22:57
Full thread dump OpenJDK 64-Bit Server VM (25.275-b01 mixed mode):
.....................................................................................................................................................................
.....................................................................................................................................................................
.....................................................................................................................................................................
G.