]
Tom Jenkinson closed JBTM-2900.
-------------------------------
Resolution: Done
Byteman fails to start on IBM JDK (quickstart)
----------------------------------------------
Key: JBTM-2900
URL:
https://issues.jboss.org/browse/JBTM-2900
Project: JBoss Transaction Manager
Issue Type: Bug
Affects Versions: 4.2
Reporter: Ivan Straka
Assignee: Ivan Straka
Priority: Minor
Fix For: 5.6.0.Final
Byteman fails to start on IBM JDK for jta-and-hibernate-standalone quickstart.
output:
{code:java}
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
{code}