I recently found myself having the same problem Lukasz describes here. While the answer to this question proved helpful and ultimately helped me to solve my problem I was hoping someone may know why ThreadPoolTaskExecutor does not properly handle MODE_INHERITABLETHREADLOCAL? Is this problem isolated to ThreadPoolTaskExecutor?
Thanks! Ryan