Hi David,

I have scanned with debugger and found the following (indeed suppressed)
error:
"org.apache.openejb.config.ValidationFailure: Missing required
persistence.xml for @PersistenceUnit ref "emf" to unit """. My
persistence.xml is present in the EAR in the top level META-INF folder.
This is (in my view) the correct location?
Inside the EaR there is a jar file + a war file along the META-INF folder.
It is reporting a validation failure on the WebModule.
Does this mean the persistence.xml should be inside the war?

Simon
PS: Maybe I should repost this on the user forum



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to