[forge-issues] [JBoss JIRA] (FORGE-45) Injected EntityManager not work in servlet

Mike Mosiewicz (Commented) (JIRA) jira-events at lists.jboss.org
Mon Jan 9 17:21:14 EST 2012


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

Mike Mosiewicz commented on FORGE-45:
-------------------------------------

This also happens in RESTeasy components.
                
> Injected EntityManager not work in servlet
> ------------------------------------------
>
>                 Key: FORGE-45
>                 URL: https://issues.jboss.org/browse/FORGE-45
>             Project: 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list