2. I did verify the PU name (as seen in my example code that I just submitted)
3. Could the issue (NullPointerException on the emf.createEntityManager();) be due to the fact that the AuthenticationBean.isLoggedIn() is being called from the PhaseListener? (the PhaseListener is NOT a ManagedBean)
[Message sent by forum member 'jeffcampbell' ]