rama wrote:
>> So you will eventually call resume, right?
>>
>>
>
> actually on example, resume is called
>
>>> static class FakeSession extends Thread {
>>> protected GrizzlyResponse res;
>>> private static FakeSession fake = new FakeSession();
>>> public void run() {
>>> try {
>>> System.out.println("START");
>>> Thread.sleep(1000);
>>> } catch (InterruptedException e) {
>>> // TODO Auto-generated catch block
>>> e.printStackTrace();
>>> }
>>> res.resume(); ---> HEY I AM A RESUME
>>> }
>
>
>> Call resume() and it will be executed.
I've missed that one. Can you increate the suspend timeout (put 10 000)
as I suspect you have a race here.
>>
>>
>
> i see the System.out (this means that resume is correctly issued)
>
>>
>> System.out.println("RESUME"); ----> GOT
>>
>
> but no output is show on browser :D
Which version? I did try with 1.9.1 and works fine.
Thanks
-- jeanfrancois