2015-06-11 7:38 GMT+02:00 dave <[email protected]>: > Hi Romain, > > thanks for the quick response! I'll need to set up a minimal sample > application that I can share - will get one underway. > > Looks like it may be related to runtime enhancement - I tried running > manually enhancing the classes for both applications via PCEnhancer and the > error didn't occur when running TomEE. > > yes build time enhancement is recommanded, runtime enhancement should work as well if you dont use openjpa as javaagent but openejb-javaagent (our default). If you share a project we can check what is happening.
Side note: putting persistence.xml in WEB-INF and not META-INF will make it not visible from the javaagent, maybe something to quickly test. > Regards, > Dave > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/OpenJPA-exception-when-running-different-versions-of-application-under-TomEE-tp4675258p4675260.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
