openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kojak <>
Subject Re: Error:
Date Mon, 14 Feb 2011 22:07:43 GMT


Sorry about the delayed response, but setting "Can-Retransform-Classes:
false" in the manifest file *did* fix the problem.

Apparently, the IBM JRE does not support runtime class re-transformation
(which you probably already know).  Based on this information, I'm assuming
that it would be a best practice to manually run
"org.apache.openjpa.enhance.PCEnhancer" if you are expecting to run with the
IBM JRE so that OpenJPA can take advantage of the enhanced classes for the
IBM JRE, correct?

Also, apparently you can query the JRE to determine it's capabilities via
JVM TI .  This would allow you to determine (at runtime) if the JRE was
capable of class re-transformation; however, I suspect you'd have to write a
JNI interface to get to it which might not be acceptable for a pure Java

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message