[jbossts-issues] [JBoss JIRA] (JBTM-2440) Byteman tests fail when running with the IBM JVM
Michael Musgrove (JIRA)
issues at jboss.org
Fri Jul 3 10:27:02 EDT 2015
[ https://issues.jboss.org/browse/JBTM-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086334#comment-13086334 ]
Michael Musgrove commented on JBTM-2440:
----------------------------------------
The [IBM manual | http://download.boulder.ibm.com/ibmdl/pub/software/dw/jdk/docs/java8/lnx/en/sdkandruntimeguide.lnx.80_8.0.pdf] says
bq. The Attach API can be enabled by setting the com.ibm.tools.attach.enable system property to the value yes;
I tried this but tests marked up with the @BMUnitRunner annotation still fail with the error JVMTI_ERROR_NOT_AVAILABLE
I tried enabling it in the pom via:
* systemPropertyVariables;
* systemProperties; and
* <argLine>-Dcom.ibm.tools.attach.enable=yes</argLine>
none of which work.
I am going to work around the issue using an ibm jdk profile that disables byteman tests.
> Byteman tests fail when running with the IBM JVM
> ------------------------------------------------
>
> Key: JBTM-2440
> URL: https://issues.jboss.org/browse/JBTM-2440
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Testing
> Affects Versions: 5.1.1
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Minor
> Fix For: 5.next
>
>
> Byteman instrumentation does not work with the IBM J9 JVM:- it fails with errors like the following:
> {code}
> *** java.lang.instrument ASSERTION FAILED ***: "jvmtierror == JVMTI_ERROR_NOT_AVAILABLE" at JPLISAgent.c line: 1009
> Exception in thread "Attachment 59984" Agent failed to start!
> JVMJ9TI064E Agent initialization function Agent_OnAttach failed for library instrument, return code 102
> {code}
> I will implement a workaround by disabling byteman when testing with this JVM.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbossts-issues
mailing list