openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garpinc <>
Subject Re: JDK 1.7 seems to be causing an issue with latest snapshot
Date Tue, 20 Aug 2013 15:45:15 GMT
Turns out adding jvm option -XX:+AlwaysLockClassLoader appears to resolve


It says:
If your product ships and appears to have problems due to incomplete
handling of critical sections, you can use a new VM flag
-XX:+AlwaysLockClassLoader. This flag reverts to locking the class loader
lock before invoking your custom class loader's findClass() or loadClass()
method, even for class loaders that register as parallel capable.

The correct fix however would be to follow the guidelines in that post.

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

View raw message