[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-184) Injected EntityManager not work in servlet

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Aug 4 12:02:27 EDT 2011


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

Lincoln Baxter III commented on SEAMFORGE-184:
----------------------------------------------

This is a good point... I'll have to think about how to resolve this. @ConversationScoped only works in JSF right now, which is a huge oversight in CDI. I'll get back to this.

> Injected EntityManager not work in servlet
> ------------------------------------------
>
>                 Key: SEAMFORGE-184
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-184
>             Project: Seam Forge
>          Issue Type: Bug
>         Environment: Jboss AS7,weld 1.1.1,forge snapshot
>            Reporter: Liu Jianhong
>
> Injected EntityManager not work in servlet.
> Because @ConversationScoped used in org.jboss.forge.persistence.DatasourceProducer,when invoke create(artifact) then produce the this error "WELD-001303 No active contexts for scope type javax.enterprise.context.ConversationScoped".

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

        


More information about the forge-dev mailing list