[seam-issues] [JBoss JIRA] Commented: (SEAMJMS-8) Weld DefinitionException on deploy in jboss6-cr1

John Ament (JIRA) jira-events at lists.jboss.org
Fri Dec 31 08:55:17 EST 2010


    [ https://issues.jboss.org/browse/SEAMJMS-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572579#comment-12572579 ] 

John Ament commented on SEAMJMS-8:
----------------------------------

After poking at it a bit more, converting it from a field producer to a method producer works for application scoped.

> Weld DefinitionException on deploy in jboss6-cr1
> ------------------------------------------------
>
>                 Key: SEAMJMS-8
>                 URL: https://issues.jboss.org/browse/SEAMJMS-8
>             Project: Seam JMS
>          Issue Type: Bug
>          Components: Injection
>    Affects Versions: 3.0.0.Alpha1
>         Environment: JBoss 6 CR1
>            Reporter: Rick Kilcoyne
>            Priority: Blocker
>              Labels: jms, seam
>
> On deploy, getting the following exception from the ConnectionFactory Producer:
> org.jboss.weld.exceptions.DefinitionException: WELD-001502 Resource producer field [Resource Producer Field [ConnectionFactory] with qualifiers [@Any @Module] declared as [[field] @Module @Produces @ApplicationScoped @Resource private org.jboss.seam.jms.impl.inject.ConnectionProducer.cf]] must be @Dependent scoped

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list