[weld-issues] [JBoss JIRA] Commented: (WELD-823) Injection into Servlet not working in Jetty 6.x
Pete Muir (JIRA)
jira-events at lists.jboss.org
Mon Jan 17 10:25:49 EST 2011
[ https://issues.jboss.org/browse/WELD-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575987#comment-12575987 ]
Pete Muir commented on WELD-823:
--------------------------------
Note I got this working in numberguess by following the instructions in the readme to run in jetty, and then by adding the jetty-web.xml from the ref guide to WEB-INF, and adding a servlet with injection.
> Injection into Servlet not working in Jetty 6.x
> -----------------------------------------------
>
> Key: WELD-823
> URL: https://issues.jboss.org/browse/WELD-823
> Project: Weld
> Issue Type: Bug
> Components: Web Tier integration (JSF, JSP, EL and Servlet)
> Affects Versions: 1.1.0.CR4
> Reporter: Dan Allen
> Assignee: Matija Mazi
> Priority: Trivial
> Fix For: 1.2.0.Beta1
>
>
> Apparently the test suite does not test injection into Servlets for Jetty 6.x because users are reporting that it doesn't work. I added a Servlet injection into the numberguess example and was able to verify that the injection is not taking place, despite receiving the startup message:
> INFO: Jetty detected, JSR-299 injection will be available in Servlets and Filters. Injection into Listeners is not supported.
> If this turns out to be a user error, then we need to turn to a documentation improvement, because a guy like Antonio should not be having difficulty getting this to work.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list