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

Jordan Ganoff (JIRA) jira-events at lists.jboss.org
Tue Dec 21 13:24:17 EST 2010


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

Jordan Ganoff commented on SEAMJMS-8:
-------------------------------------

The idea was to have ConnectionFactory created as few times as possible as its use does not warrant any additional instances.  It was understood that creating instances could be costly.

> 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