Hi,
Thanks i can reproduce using NetBeans RC 2 using GF 3.0.1 b20 when i
redeploy the application.
I think this is a GF bug related to CDI integration. GF seems to think
Jersey's ServletContainer should be a CDI managed bean when in fact
Jersey's ServletContainerInitializer is creating instances of
ServletContainer and adding those to the ServletContext using:
http://java.sun.com/javaee/6/docs/api/javax/servlet/ServletContext.html#addServlet%28java.lang.String,%20javax.servlet.Servlet%29
If you remove the WEB-INF/beans.xml it works correctly.
Can you log an issue against GF either attaching your example or
linking to the forum message with the attachment?
Paul.
On Jun 10, 2010, at 2:30 PM, glassfish_at_javadesktop.org wrote:
> This is my netbeans web project folder.
> [Message sent by forum member 'glesiak']
>
> http://forums.java.net/jive/thread.jspa?messageID=473735
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>