As a workaround, what Im doing, is to use an Executor service for the
TreeCache and shutting down after cache.close() and that works for me now..
but let me know if i can help you with smth about this.

Thank you very much!

On Thu, Jul 21, 2016 at 6:28 PM, Scott Blum <[email protected]> wrote:

> Looks like a real bug... for some reason, the single-arg constructor
> for CloseableExecutorService defaults to NOT actually shutting down the
> underlying executor.  This makes absolutely no sense to me, but it's the
> source of the bug... most of the code paths to construct a TreeCache use
> the 1-arg constructor.  Only one of them uses the 2-arg constructor with
> the right setting.
>
> I have to admit, the design of CloseableExecutorService is kind of
> WTF-inducing for me...
>
> On Thu, Jul 21, 2016 at 5:18 PM, Jordan Zimmerman <
> [email protected]> wrote:
>
>> Please open an issue in Jira if this is a real bug.
>>
>> > On Jul 21, 2016, at 4:16 PM, Scott Blum <[email protected]> wrote:
>> >
>> > Okay, now I can repro it; the difference was you adding the loop to
>> wait for the thread to start up.
>>
>>
>


-- 
Ing. Alvaro Gareppe
[email protected]

Reply via email to