users@jersey.java.net

Re: [Jersey] jersey-test Glassfish dependencies

From: Naresh <Srinivas.Bhimisetty_at_Sun.COM>
Date: Tue, 10 Nov 2009 16:25:43 +0530

Hi,

Naresh wrote:
> Hi Tarjei,
>
> tarjei wrote:
>> Hi,
>> On 11/09/2009 02:07 PM, Paul Sandoz wrote:
>>>
>>> On Nov 9, 2009, at 1:58 PM, tarjei wrote:
>>>
>>>> Hi,
>>>>
>>>> What is the correct way to setup the glassfish dependencies i when
>>>> using 1.1.5-SNAPSHOT? I get errors when trying to use jersey-test
>>>> without excluding the glassfish dependency.
>>>>
>>>
>>> This is a bug in the dependencies.
>>>
>>> After the test framework was re-factored it was no longer necessary to
>>> include all such dependencies on all supported containers. And the
>>> dependencies/documentation should have been updated to reflect this.
>>>
>>> For ease of use we should depend on Grizzly (which could be excluded
>>> too
>>> as there is no hard coded requirement for that, expect it is the
>>> default
>>> test container loaded if no other is specified and it can be loaded),
>>> and we can remove the other dependencies and document what they are.
>>>
>>> Could you log an issue?
>> Done.
>>
>> One problem with Grizzly is that it seems not to work with
>> .filterClass(RequestContextFilter.class) so I'm waiting for issue 407
>> to be resolved.
> I'm sorry. I could not work on this. I'll work on it tomorrow.
I have just checked in the fix for this issue
https://jersey.dev.java.net/issues/show_bug.cgi?id=407 in the trunk
(1.1.5-ea-SNAPSHOT).

The framework now supports the following listener classes, they could be
set by calling the appropriate methods in the Builder design pattern:
ServletContextListener, ServletContextAttributeListener,
ServletRequestListener, ServletRequestAttributeListener

The attached sample shows how they could be set.

Thanks,
Naresh
>
> Thanks for reporting these issues and helping us make the framework a
> better one :)
>
> -Naresh
>>
>> Regards,
>> Tarjei
>>>
>>> Thanks,
>>> Paul.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>