users@jersey.java.net

[Jersey] Re: Test Grizzly 2 not picking up Provider classes

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Tue, 03 May 2011 14:04:52 +0200

btw, I just found HttpHeadersTest in jersey-apache-client, which uses
grizzly2 to start and uses @Provider and passes, so.. I'm not sure what
is wrong/can't reproduce.

Pavel

On 5/3/11 1:46 PM, Pavel Bucek wrote:
> Hello Gary,
>
> Are you using Jersey test framework or just jersey-grizzly2 module?
> Can you share more details/testcase?
>
> Thanks,
> Pavel
>
> On 5/2/11 7:39 PM, Gary Moore wrote:
>> We just moved to Jersey 1.6 this morning. Jersey is find, and our
>> Jersey Test container classes all pass with Grizzly 1. Grizzly 2,
>> however, doesn't pick up any of our MessageBodyWriters/Readers and
>> responds to everything with 415 - Unsupported Media Type. Anyone have
>> details on how to initialize the Test Grizzly 2 container with our
>> Provider classes?
>>
>> Thanks,
>> Gary
>>
>
>