After doing some googleing, I found a post with a similar problem.
Apparently, the IBM JRE creates a folder in /tmp called
.com_ibm_tools_attach. This folder was created after I installed the JRE and
ran "java -version" to test the installed version. Apparently, the
permissions on the folder were root as I ran "java -version" as root.
drwxr-xr-x 2 root root 4096 Feb 2 10:45 .com_ibm_tools_attach
I have now removed the folder and it has been recreated with permissions
associated with the user running the application (i.e. me)...
drwxrwxrwt 2 me me 4096 Feb 3 11:00 .com_ibm_tools_attach
Unfortunately, now I am receiving a different error...
Exception in thread "Attachment 60134"
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)
430 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.
489 HSQLDBTest INFO [main] openjpa.Runtime - Starting OpenJPA 2.0.1
599 HSQLDBTest INFO [main] openjpa.jdbc.JDBC - Using dictionary class
"org.apache.openjpa.jdbc.sql.HSQLDictionary".
I also attempted to supply the "-Dcom.ibm.tools.attach.enable=no" argument
to the IBM JRE and received the same exception described in the first post.
Argh...
--
View this message in context:
http://openjpa.208410.n2.nabble.com/Error-com-ibm-tools-attach-AttachNotSupportedException-tp5989284p5989379.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.