Thanks, but I'm actually using Glassfish in its embedded mode, which means my EJBs are deployed for me. I look them up out of JNDI at test time, so I'm not creating any EntityManagers myself, or anything like that. I'm effectively deploying my EJBs to a just-in-time Glassfish, then grabbing them out of JNDI using their global, portable JNDI names and calling methods on them.
The EntityManager actually is non-null, but it appears to simply break immediately upon any method being called on it.
Best,
Laird
[Message sent by forum member 'ljnelson']
http://forums.java.net/jive/thread.jspa?messageID=396960