This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: EntityManager not found in a session scoped componentlasansue.jeremy.girard.satives.fr Sep 4, 2009 2:40 PM (in response to lasansue.jeremy.girard.satives.fr)I've got the warn message twice for each access to the component 
- 
        2. Re: EntityManager not found in a session scoped componentasookazian Sep 4, 2009 10:20 PM (in response to lasansue.jeremy.girard.satives.fr)You can eliminate create=true using this config: <persistence:managed-persistence-context name="entityManager" auto-create="true" entity-manager-factory="#{fooEntityManagerFactory}"/>specifically, auto-create is what makes create=true unnecessary. 
 Cannot create Seam component, scope is not active: entityManager(CONVERSATION)probably means that there is no LRC active. Do you have a LRC started when your bean method is called? The SMPC is conversation-scoped and you're using a session-scoped component, so perhaps that's why the warning is being logged... 
 
    