Again - I have this is seam.properties:

  | org.jboss.seam.core.init.managedPersistenceContexts em
  | em.persistenceUnitName java:/EntityManagerFactories/testDatabase

em is created:
[Component] Component: em, scope: CONVERSATION, type: JAVA_BEAN, class: 
org.jboss.seam.core.ManagedPersistenceContext

Doing this:
        @In(create=true)
  |     private EntityManager em;

results in:
Caused by: javax.ejb.EJBTransactionRolledbackException: null; CausedByException 
is:
  |     EntityManagerFactory not found

Looking up  'java:/EntityManagerFactories/testDatabase' by hand gives a 
'org.jboss.ejb3.entity.InjectedEntityManagerFactory'

Still using beta1, whats is wrong???

Thanks,
/Magnus

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918985#3918985

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918985


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to