https://bz.apache.org/bugzilla/show_bug.cgi?id=65553

--- Comment #2 from Michael Osipov <micha...@apache.org> ---
I see the same in my application, though not with the JNDIRealm:

2021-08-31T20:25:13.679 INFORMATION [https-openssl-apr-8443-exec-67]
org.apache.catalina.core.ApplicationContext.log HTMLManager: stop: Stopping web
application '/smartld##001'
2021-08-31T20:25:13.712 INFORMATION [https-openssl-apr-8443-exec-67]
org.apache.catalina.core.ApplicationContext.log
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called

> 2021-09-01T15:55:23.726 WARNUNG [deblndw028v.ad001.siemens.net-startStop-3] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [ket##001] appears to have started a thread named [Thread-9] 
> but has
>  java.lang.Object.wait(Native Method)
>  java.lang.Object.wait(Object.java:502)
>  com.sun.jndi.ldap.Connection.pauseReader(Connection.java:840)
>  com.sun.jndi.ldap.Connection.run(Connection.java:983)
>  java.lang.Thread.run(Thread.java:748)

which comes right after a stop in the manager app or a container shutdown:
> 2021-09-01T15:55:19.615 INFORMATION [main] 
> org.apache.catalina.core.StandardServer.await A valid shutdown command was 
> received via the shutdown port. Stopping the Server instance.
> 2021-09-01T15:55:19.616 INFORMATION [main] 
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
> ["https-openssl-apr-8443"]
> 2021-09-01T15:55:19.635 INFORMATION [main] 
> org.apache.catalina.core.StandardService.stopInternal Stopping service 
> [Catalina]
> 2021-09-01T15:55:19.638 INFORMATION 
> [deblndw028v.ad001.siemens.net-startStop-3] 
> org.apache.catalina.core.ApplicationContext.log Destroying Spring 
> FrameworkServlet 'dispatch'
> 2021-09-01T15:55:23.530 INFORMATION 
> [deblndw028v.ad001.siemens.net-startStop-3] 
> org.apache.catalina.core.ApplicationContext.log Closing Spring root 
> WebApplicationContext


I think a solution within the JDK should be pursued first.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to