Hmm weird, sure i saw the opposite...if not we have to open an issue since it would be the only descriptor being here (sure for ejb-jar, web, validator..) Le 12 juin 2013 18:45, "John D. Ament" <[email protected]> a écrit :
> Spec says it goes in WEB-INF/classes/META-INF. In fact the spec says it > should not work if it's directly in WEB-INF. > > > On Wed, Jun 12, 2013 at 12:30 PM, Romain Manni-Bucau > <[email protected]>wrote: > > > so the workaround is to put it in both places ;) > > > > joke apart i wonder why jboss and glassfish doesn't follow the spec (or > did > > i misunderstood it? would be better probably, if not we could add a flag > to > > do like them) > > > > *Romain Manni-Bucau* > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > *Blog: **http://rmannibucau.wordpress.com/*< > > http://rmannibucau.wordpress.com/> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > *Github: https://github.com/rmannibucau* > > > > > > > > 2013/6/12 daedalus <[email protected]> > > > > > Yes you're right. > > > > > > Placing the persistence.xml file directly in WEB-INF is working for > > TomEE. > > > But neither Glassfish nor JBoss will recognize the persistence.xml in > any > > > folder different from WEB-INF/classes/META-INF > > > > > > > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://openejb.979440.n4.nabble.com/Problem-with-Entities-in-jars-tp4663695p4663720.html > > > Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > > >
