[jboss-jira] [JBoss JIRA] (AS7-6723) CDI injection into JAX-RS service does not work when hot-deployed.
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Sat Mar 16 01:13:42 EDT 2013
[ https://issues.jboss.org/browse/AS7-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761443#comment-12761443 ]
RH Bugzilla Integration commented on AS7-6723:
----------------------------------------------
Stuart Douglas <sdouglas at redhat.com> made a comment on [bug 921004|https://bugzilla.redhat.com/show_bug.cgi?id=921004]
This is actually caused by user error. In the reproducer the class should only be returned by Application.getClasses(), not Application.getSingletons().
Ideally RESTeasy would detect this case, and would throw an error. I have filed an issue against RESTeasy to detect this problem.
> CDI injection into JAX-RS service does not work when hot-deployed.
> ------------------------------------------------------------------
>
> Key: AS7-6723
> URL: https://issues.jboss.org/browse/AS7-6723
> Project: Application Server 7
> Issue Type: Bug
> Components: CDI / Weld, REST
> Affects Versions: 7.1.1.Final
> Reporter: Pavel Macik
> Assignee: Stuart Douglas
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list