What version of Seam are you running? Are there any errors in the log from not being able to create the persitence units? In 2.0 the link should be something like
a deployed Foo-ds.xml with a | <jndi-name>FooDatasource</jndi-name> | a persistence.xml with | <jta-data-source>java:/FooDatasource</jta-data-source> | <property name="jboss.entity.manager.factory.jndi.name" value="java:/FooEntityManagerFactory" /> | and in components.xml | <persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="java:/FooEntityManagerFactory" /> | Which should give you auto-created SMPC available with just | @In private EntityManager entityManager; | (and injection into all controllers etc. that use the "entityManager" name) you seem to have some sort of managed-persistence-context in components.xml, although under another namespace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123946#4123946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123946 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
