Re: @PersistenceContext injection works on other app server, not Tomcat...

2008-07-09 Thread ericp56
That's good to know. I think the basis of my problem is Tomcat 6 on it's own doesn't support this? Eric -- View this message in context: http://www.nabble.com/%40PersistenceContext-injection-works-on-other-app-server%2C-not-Tomcat...-tp18350591p18360896.html Sent from the Tomcat - User maili

Re: @PersistenceContext injection works on other app server, not Tomcat...

2008-07-09 Thread Mark Thomas
ericp56 wrote: I have the following declaration in my class: @PersistenceContext(unitName = "CallScheduler") EntityManagerFactory emf; If I compile the code in NetBeans/Glassfish, emf is instantiated. If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no errors, other than a

@PersistenceContext injection works on other app server, not Tomcat...

2008-07-08 Thread ericp56
I have the following declaration in my class: @PersistenceContext(unitName = "CallScheduler") EntityManagerFactory emf; If I compile the code in NetBeans/Glassfish, emf is instantiated. If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no errors, other than a NullPointerExcep