When using JBoss Web Server 3 on Microsoft Windows, starting and then stopping Tomcat7 results in warnings and errors being unexpectedly displayed after Tomcat7 has shut down.
The web application `[/docs]` initiates a thread named `[SeedGenerator Thread]` but does not stop the thread when it shuts down. As a result, the errors and warnings continue to appear after Tomcat7 shuts down.
This is a known issue in JBoss Web Server 3 and there is currently no workaround for this problem.
Created attachment 898574[details]
Tomcat7 catalina.out on windows
Description of problem:
The issue is only on Windows platform.
Tomcat7 - catalina.out contains warning and errors (after shutdown)
...
SEVERE: The web application [/docs] appears to have started a thread named [SeedGenerator Thread] but has failed to stop it. This is very likely to create a memory leak.
....
see attched catalina.out.
Version-Release number of selected component (if applicable):
How reproducible:
start, stop EWS 2.1.0-ER1 Tomcat7 on Windows platform.
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
I have complained upstream that these shutdown messages are annoying (and mostly useless). However, I haven't managed to convince people to tackle existing ones, only avoid adding more of them.
If possible, it would be best to not address this, upstream has refused these patches and would like to keep warn level at least for all these "clear" methods.
I have no idea what "info" is "needed" here ... Either you use the patch or you don't, it's up to you, upstream has said it is not a bug, it's a feature [to detect leaks].
Created attachment 898574 [details] Tomcat7 catalina.out on windows Description of problem: The issue is only on Windows platform. Tomcat7 - catalina.out contains warning and errors (after shutdown) ... SEVERE: The web application [/docs] appears to have started a thread named [SeedGenerator Thread] but has failed to stop it. This is very likely to create a memory leak. .... see attched catalina.out. Version-Release number of selected component (if applicable): How reproducible: start, stop EWS 2.1.0-ER1 Tomcat7 on Windows platform. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: