thanks for helping me.
I dont use the JavaEE lookup. I create the necessary EntityManager instance like this:
EntityManagerFactory factory = Persistence.createEntityManagerFactory("BBTrainerAppPU");
EntityManager em = factory.createEntityManager();
[Message sent by forum member 'noz' (noz)]
http://forums.java.net/jive/thread.jspa?messageID=238222