tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m.s" <>
Subject Problem using EntityManagerFactory emf = Persistence.createEntityManagerFactory
Date Wed, 17 Feb 2010 09:59:51 GMT


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 =
   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 :-(

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message