users@jersey.java.net

[Jersey] Re: CDIExtension not found error - probably a bug?

From: John Lister <john.lister_at_kickstone.com>
Date: Fri, 06 Apr 2012 11:23:40 +0100

>My experience is i get this if i try to configure jersey via web.xml.
If i use the Application annotation it goes away.

Do you have an example? I currently have jersey configured as a servlet
filter (can't remember why - it was done to solve a problem back in the
early days that I suspect doesn't exist any more) and also pass a number
of init-params (including a couple of custom ones for my providers) and
I can't see how this is possible using annotations?

Thanks

John

>On Apr 5, 2012 10:05 AM, "John Lister" wrote:
> >Hi, I'm trying to use jersey 1.12 with glassfish 3.1.2 with multiple
virtual hosts and I'm getting the following exception. I
> >have 2 virtual hosts both of which are running jersey applications. If
I request a page from 1 virtual host only, it works
> >(doesn't matter which) but as soon as I request a page from the second
one (again order is unimportant) the second
> >immediately fails with the following exception trace. I've tried to
set the system property as mentioned in bug 610, but it
> >doesn't seem to make any difference...


-- 
www.pricegoblin.co.uk