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




Reply via email to