[GLASSFISH-4239] Glassfish needs OpenJPA jars in its lib directory to properly perform runtime enhancement Created: 20/Feb/08 Updated: 05/Jan/13 Resolved: 05/Jan/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Operating System: Mac OS X
It appears that when I use OpenJPA, if I rely on the JARs being in my EAR file,
It does so silently, which leads to very hard-to-debug behavior.
If I put the OpenJPA jars in the Glassfish lib directory, the problem goes away.
|Comment by Mitesh Meswani [ 20/Feb/08 ]|
Can you please attach a sample app that demonstrates the behavior
|Comment by harpreet [ 21/Mar/08 ]|
moving to next release
|Comment by sanandal [ 11/Jan/09 ]|
"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
|Comment by Mitesh Meswani [ 05/Jan/13 ]|
We do properly implement methods getClassLoader(), getNewTempClassLoader() and addTransformer() of PersitenceUnitInfo that facilitates bytecode instrumentation as required by the spec. GlassFish works with both EclipseLink and Hibernate using this.
It might possibly an issue with OpenJPA and may have been fixed in recent versions. Closing this bug as invalid. Please reopen with a reproducible test case if you are still seeing this issue with latest versions of OpenJPA