[JBoss-user] [EJB 3.0] - Re: Problem with EAR and PersistenceContext in Jboss 4.0.4GA

2006-06-24 Thread Nico67
Well, may be i went too fast. Putting all classes in the same jar file didn't solve the problem. When i first call a EJB-method which performs a persist to the EntityManager i get : | javax.ejb.EJBException: javax.persistence.TransactionRequiredException: EntityManager must be access within a

[JBoss-user] [EJB 3.0] - Problem with EAR and PersistenceContext in Jboss 4.0.4GA

2006-06-23 Thread Nico67
Hi, I'm currently trying to migrate from Jboss 4.0.4RC1 to 4.0.4 GA, and I have some problems with EJB3 stuffs migration. I followed the migration wiki pages, but i still have a problem when using EntityManager from stateless beans ; it seems that the persistence context is not found correctly.