]
Brian Stansberry closed JBAS-7626.
----------------------------------
Resolution: Done
org.jboss.web.WebServer assumes executor thread's have the
correct TCCL
-----------------------------------------------------------------------
Key: JBAS-7626
URL:
https://jira.jboss.org/jira/browse/JBAS-7626
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ClassLoading
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: JBossAS-6.0.0.M2
WebServer.run does not set the TCL on executor threads. This is leading to NPEs in
org.jboss.test.helloiiop.test.HelloTimingStressTestCase and other tests in the tests-iiop
target.
Recent changes David Lloyd made to the standard thread pools exposed this. Before pool
threads would inherit their TCL from whatever thread caused them to be spawned. That was
random, but mostly worked for this use case. But it also risked leaking classloaders.
David has eliminated this risk by ensuring the pools set the TCL to null after completing
tasks. This exposes the problem with WebServer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: