users@jersey.java.net

Re: Possible bug in Grizzly <was> Re: Grizzly Container is completely wrong, if I read it correctly

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 29 Nov 2007 17:18:57 +0100

Jeanfrancois Arcand wrote:
> Salut,
>
> Paul Sandoz wrote:
>> Hi,
>>
>> I added some simple tests for HTTP methods, see:
>>
>> com.sun.ws.rest.impl.container.grizzly.HttpMethodTest
>>
>> When all tests are enabled all tests pass. However if i only enable
>> the testPost test (which is the case for the unit test class in the
>> trunk) then it fails.
>>
>> There appears to be an initialization issue with the Grizzly server
>> w.r.t to a first HTTP request that contains a message body. Subsequent
>> HTTP requests that contain a message body work fine. You can
>> experiment by enabling/disabling and duplicating various tests.
>
> OK I suspect the problem is with the GrizzlyRequest/ResponseAdaptor.
> Will take a look.
>

Thanks!

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109