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 NullPointerException when I try to use it.

Any ideas?

Any relation to https://issues.apache.org/bugzilla/show_bug.cgi?id=45285 ?

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to