Hi Xiang,
can you pls. specify which exactly example from the blog you're trying
to run? :)
Thanks.
WBR,
Alexey.
On Sep 30, 2009, at 10:25 , lion lion wrote:
> Hi, there
>
> I am trying to run AsyncFilter example given in the post (http://www.java.net/blog/2008/07/03/extending-grizzly-http-runtime
> )
> As a result, server can receive the request but browser can not get
> "Grizzly is soon cool"...
> I add a system.out in Callable.call() as following:
> .....
> System.out.println(asyncExecutor.getProcessorTask());
> asyncExecutor.execute();
> ......
> It turned out to be processorTask is null .
> Dig into source, I found one possible place to set processorTask is
> asyncExecutor.postExecute
> With guess that there is another filter which set task to null, I
> set doFilter to return false.
> After the change, the example works.
>
> Can you explain what happen internally? The jar I used is grizzly-
> webserver-1.9.18a.jar
>
> Thanks,
> Xiang
> Invite your mail contacts to join your friends list with Windows
> Live Spaces. It's easy! Try it!