oops, should have mentioned: the parts are currently in the new module webbeans-geronimo, but I am not sure if it should be renamed to webbeans-openejb3 or something.
LieGrue, strub --- Mark Struberg <[email protected]> schrieb am Fr, 10.4.2009: > Von: Mark Struberg <[email protected]> > Betreff: openejb JPA integration > An: [email protected] > Datum: Freitag, 10. April 2009, 22:38 > > Hi! > > The integration is not yet finished but at least a few > basic things work now. So I currently only uploaded the > stuff to my git repo > > http://ns1.backwork.net/git/index.php?p=openwebbeans.git > > resp > > $> git clone http://ns1.backwork.net/git/openwebbeans.git > > Mohammad, it would be really good if you can take a look at > the OpenEJBIntegrationTest and check what I do wrong. > > Although the EJB container seems to startup correctly, I am > not able to access any PersistenceUnit. > The console shows me: > > INFO - Configuring PersistenceUnit(name=TestUnit, > provider=org.hibernate.ejb.HibernatePersistence) > but the lookup in the context doesn't find the > PersitenceUnit with > > context.lookup("openejb/PersistenceUnit/" + > unitName); > the stack trace: > org.apache.webbeans.exception.WebBeansCreationException: > PersistenceUnit 'TestUnit' not found > at > org.apache.webbeans.spi.ee.openejb.JPAServiceOpenEJBImpl.getPersistenceUnit(JPAServiceOpenEJBImpl.java:53) > ... > > So my lookup for the PersitenceUnit may be wrong? Any help > would be highly appreciated ;) > > LieGrue, > strub > > > > >
