No worries Scott - glad to help.  This thread could help other people,
so it's a good thing we went through it ;)

Cheers,

Les

On Thu, Oct 29, 2009 at 1:15 PM, Scott Ryan <[email protected]> wrote:
> That did the trick.
>
> I removed the ThreadState stuff and ran the code inside the subject with a
> closure and it seemed to work.  i have another issue but that is most likely
> something else.   My creates work but updates do not.
>
> Too many frameworks to understand lol.  I am getting there.
>
> I am so sorry this has been such an ordeal. I do appreciate your patience
> with me.  I think this is a good final solution.
>
> Thanks again for all the help. Now on to multi-tenant with Shiro.
>
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> [email protected]
> (303) 263-3044
>
> On Oct 29, 2009, at 10:52 AM, Peter Ledbrook wrote:
>
>>> Just a note - you should not use the ThreadState stuff as shown in
>>> your code sample.  Instead use my example that executes a Runnable and
>>> calls the 'doBootstrap' method (that you implement).
>>
>> As an FYI, closures implement Runnable, so you can replace the
>> anonymous class with a closure in BootStrap.groovy.
>>
>> Cheers,
>>
>> Peter
>
>

Reply via email to