Lars Bohl [
http://community.jboss.org/people/bohl] created the discussion
"Re: Persistence unit issues when migrating to JBOSS 5.1.0"
To view the discussion, visit:
http://community.jboss.org/message/569911#569911
--------------------------------------------------------------
Sorry for waking up this old thread. I have a question about this:
> For the record - my statement is incorrect. The EJB3 spec
doesn't _not_ specify that the persistence.xml can be placed in the META-INF of the
.ear. According to the spec, for scoping a persistence unit at ear level, the
persistence.xml should be packaged in:
* META-INF of a jar file in the root of the EAR
or* META-INF of a jar file in the EAR library directory
I'm not sure which document is meant with "EJB3 spec", could you
please post a link? If you meant this document
http://download.oracle.com/javaee/6/api/
http://download.oracle.com/javaee/6/api/ .., I can't find any deployment rules for
.ear files in there.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/569911#569911]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]