This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 stateless session bean not deploying correctly
perfectionist Aug 11, 2005 7:27 AM (in response to perfectionist)This turned out to be a problem with the configuration xml files. When I narrow the exact cause down I will post.
-
2. Re: EJB3 stateless session bean not deploying correctly
rparree Aug 18, 2005 2:54 AM (in response to perfectionist)Hi,
Did you name your entitymanager in your persistence.xml?:<entity-manager> <name>manager1</name> ... </entity-manager>
In that case you need to put untName on the Injection:@PersistenceContext (unitName = "manager1") private EntityManager manager1;
(see getManagedEntityManagerFactory in org.jboss.ejb3.injection.PersistenceContextHandler)
Cheers,
Raphael