Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2900

Byteman fails to start on IBM JDK (quickstart)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.2
    • Fix Version/s: 5.6.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Byteman fails to start on IBM JDK for jta-and-hibernate-standalone quickstart.

      output:

      Running org.jboss.narayana.quickstart.jta.TestCase
      byteman jar is /home/hudson/.m2/repository/org/jboss/byteman/byteman/3.0.3/byteman-3.0.3.jar
      *** java.lang.instrument ASSERTION FAILED ***: "jvmtierror == JVMTI_ERROR_NOT_AVAILABLE" at JPLISAgent.c line: 1009
      Setting org.jboss.byteman.allow.config.update=true
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:508)
      	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:408)
      	at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:433)
      	at com.ibm.tools.attach.javaSE.Attachment.loadAgentLibraryImpl(Native Method)
      	at com.ibm.tools.attach.javaSE.Attachment.loadAgentLibrary(Attachment.java:309)
      	at com.ibm.tools.attach.javaSE.Attachment.parseLoadAgent(Attachment.java:287)
      	at com.ibm.tools.attach.javaSE.Attachment.doCommand(Attachment.java:168)
      	at com.ibm.tools.attach.javaSE.Attachment.run(Attachment.java:128)
      Caused by: java.lang.UnsupportedOperationException: adding retransformable transformers is not supported in this environment
      	at sun.instrument.InstrumentationImpl.addTransformer(InstrumentationImpl.java:100)
      Exception in thread "Attachment 45368" Agent failed to start!
      	at org.jboss.byteman.agent.Main.premain(Main.java:275)
      	at org.jboss.byteman.agent.Main.agentmain(Main.java:305)
      	... 11 more
      JVMJ9TI064E Agent initialization function Agent_OnAttach failed for library instrument, return code 102
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                istraka Ivan Straka
                Reporter:
                istraka Ivan Straka
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: