Can you try changing Can-Retransform-Classes to false? Thanks, Rick
On Thu, Feb 3, 2011 at 12:21 PM, kojak <keit...@gmail.com> wrote: > > Rick, > > Sorry that didn't fix it. Also, I read the bug at the link you posted. I > checked the manifest in apache-openjpa-2.1.0-20110201.173954-119-binary.zip > and noticed that it was still set to... > Can-Retransform-Classes: true > > I'm not sure if you intended to set it to false in the fix or if you're > inspecting the JRE at runtime to see if it is IBM and then deciding what to > do. > > OpenJPA version used: apache-openjpa-2.1.0-20110201.173954-119-binary.zip > > Error: > > INFO: Java Version: 1.6.0 from IBM Corporation > Exception in thread "Attachment 54431" > java.lang.UnsupportedOperationException: cannot get the capability, > performing dispose of the retransforming environment > at > com.ibm.tools.attach.javaSE.Attachment.loadAgentLibraryImpl(Native > Method) > at > > com.ibm.tools.attach.javaSE.Attachment.loadAgentLibrary(Attachment.java:243) > at > com.ibm.tools.attach.javaSE.Attachment.parseLoadAgent(Attachment.java:221) > at > com.ibm.tools.attach.javaSE.Attachment.doCommand(Attachment.java:140) > at com.ibm.tools.attach.javaSE.Attachment.run(Attachment.java:101) > 399 HSQLDBTest INFO [main] openjpa.Runtime - OpenJPA dynamically loaded > the class enhancer. Any classes that were not enhanced at build time will > be > enhanced when they are loaded by the JVM. > 532 HSQLDBTest INFO [main] openjpa.Runtime - OpenJPA dynamically loaded > a validation provider. > 569 HSQLDBTest INFO [main] openjpa.Runtime - Starting OpenJPA > 2.1.0-SNAPSHOT > -