users@jersey.java.net

[Jersey] Re: Servlet context injection fail while using jersey test framework

From: Srinivas Naresh Bhimisetty <shri.naresh_at_gmail.com>
Date: Tue, 19 Jul 2011 12:22:42 +0530

Hi,

   the injections do not work with the light-weight containers - HTTP,
Grizzly or In-Memory.

I see that you are using your custom implementation of InMemory test
container - TestManagerInMemoryTestContainerFactory. Have you added the
support for these injections?

Have you tried running the tests with one of the heavy-weight container
implementations - GrizzlyWebTestContainerFactory or
EmbeddedGlassFishTestContainerFactory?

- Naresh

On Mon, Jul 18, 2011 at 11:44 PM, bbarodia <birenbarodia_at_gmail.com> wrote:

> ne ideas?
>
> --
> View this message in context:
> http://jersey.576304.n2.nabble.com/Servlet-context-injection-fail-while-using-jersey-test-framework-tp6484324p6595783.html
> Sent from the Jersey mailing list archive at Nabble.com.
>