Pinned topicEntityManager injection probelm

I have a strane problem (one that seems to have come out of nowhere). I am working with Wasce 3.0.0.4.

I have a ejb jar with entities (and respecitve, persistance.xml) and it works all fine deployed by itself, but once I stick it into a EAR the entity manager does no longer get injected (or any tables created).

I can see the OpenJPA parsing and enhancing the entity classes and seemingly setting up everything.

I have dependencies to the dbpool in both the openejb-jar.xml and the geronimo-application.xml.