You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/10/11 10:03:20 UTC

[Bug 63832] Unable to stop because WebappClassLoaderBase.checkThreadLocalMapForLeaks can't load class(class from deployed aplication - probably undeployed)

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

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
The exception is properly caught, *but* because of the severity of it it is
allowed to fall through (java.lang.InternalError is a VirtualMachineError).
Then the stop process does not complete due to that.

The code causing the error is reconstructing the class name from a Class
object, so it's rather worrying/weird that it fails.

IMO, the fix is in the InlineExecutorService: it should emulate an executor
with a one thread pool, so it should not propagate an exception/error out of
its execute method and log the trace as severe instead. I will attepmt a fix
and see how testing goes.

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