Hallo
I managed to setup openejb with my project but running any test fails due to
the following:
We are using EhCache to cache some data. Unfortunatly the CacheEntryFactory
needs the/an EntitiyManager to create the cache entries. This is done by
these lines:
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("<name_of_persistent_unit>");
EntityManager em = emf.createEntityManager();
This fails because the PersistenceProvider tries to connect to
localhost:3700 which of course fails.
The remoting capabilities of openEjb are not inteded to cover this so i am a
bit stuck now :-(
Regards
--
View this message in context:
http://n4.nabble.com/Problem-using-EntityManagerFactory-emf-Persistence-createEntityManagerFactory-tp1558438p1558438.html
Sent from the OpenEJB User mailing list archive at Nabble.com.