The logic in the spawned thread was being executed every 10s using a Thread.sleep(). Setting the run boolean to false while shutting down, didn't necessarily mean the thread got stopped before Tomcat completed the shutdown, hence the warning. When the run boolean is set to false, it now tries to join the spawned thread with a timeout of 1000ms. In addition the logic is still executed every 10s, but the loop is "interrupted" every 1s to check to see if the run boolean is still set to true. This avoids the join logic to take up 10s. Marking this one as FIXED.
Sending src/com/icesoft/util/MonitorRunner.java
Transmitting file data .
Committed revision 28627.