tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <>
Subject Re: OpenEJB - Missing required persistence.xml
Date Mon, 11 Feb 2008 21:23:34 GMT
On Feb 11, 2008 10:34 AM,  <> wrote:

> - FAIL ... PatternManagementDaoImpl:    Missing required persistence.xml
> for @PersistenceContext ref "em" to unit "pattern-managementPu"
> What's wrong? It is there. And where should it be placed? In META-INF
> like usually? It seems that it is later found.

"like usually"? That's how EJB3 spec mandates it so we should follow
the rule and we do. Can you jar -tf <your ejb/ear> and send the output
here? Could you show persistence.xml too so we can look at it?

> Can I define the order in which the EJB modules are loaded?

Not in a spec-compliant way. I'm not sure if you can do it in openejb
either, but would rather wait for Dave/Dain's reply before counting on


Jacek Laskowski

View raw message