When loading a webapp with a jar containing a web-fragment.xml and 
persistence.xml I am unable to access the persistence-context from JNDI that 
was defined in the web-fragment.xml. However if I move the exact same 
persistence-context-ref configuration to the web.xml everything works as 
expected. Is TomEE not merging the web.xml/web-fragment.xml files properly?

Test case for this issue: 
https://www.dropbox.com/s/5ae5eibuaaemu4o/persistenceref-webfragment.zip

Thanks,
Trevor Stevens
[email protected]


Reply via email to