Description
RequestContextImpl maintains a threadlocal with a reference to a context. Since the value is an array of type RequestContextImpl and the threadlocal is never cleared on undeploy of the application the application as a whole cannot be redeployed.
Either add logic to clear this threadlocal, or change the type of the array to Object[], which should allow the RequestContextImpl class to be GC'ed.