openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kojak <keit...@gmail.com>
Subject Re: Error: com.ibm.tools.attach.AttachNotSupportedException
Date Thu, 03 Feb 2011 18:21:06 GMT

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
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/Error-com-ibm-tools-attach-AttachNotSupportedException-tp5989284p5989868.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message