• Instrumenting Spark Streaming with Byteman

    Hi,   I am trying to modify spark streaming program using byteman (see the Java and Byteman rule snippets below) .   JavaPairInputDStream<String, String> messages = KafkaUtils.createDirectStream( ...
    Profile Photo
    last modified by shamte
  • Byteman rules on application classes in Wildfly not executed

    In my first experiment with Byteman 3.0.1, I used bminstall to add the agent to Wildfly 8.1.0 Final (on Windows 10), with the ...byteman.verbose property set.  Then I used bmsubmit to (apparently successfully) ad...
    Profile Photo
    last modified by jgreif
  • AT INVOKE location specifier does not match method descriptor

    Hello, I am using AT INVOKE location specifier and it does no work in following examples: Environment: Byteman 3.0.1 wildfly-8.2.0.Final, resteasy version 3.0.10.Final: source code: byteman-wildfly-log/rest.btm ...
    Profile Photo
    last modified by radek.koubsky
  • Helper class issue on server startup

    I have a byteman script which I want to run from startup in an application server. This byteman script makes use of a HelperClass. I have modified the server startup to specify the javaagent as follows: -Dorg.jbos...
    Profile Photo
    last modified by rachmato
  • Stopping a JUnit test with Byteman

    Hello Byteman Users   I have a JUnit test involving a client and a server in which I want to detect a condition on the client and then stop the test based on that condition. In this particular case, I want to de...
    Profile Photo
    last modified by rachmato
  • Any plan to support annotations in Byteman?

    Hello,   I'm currently testing Byteman for monitoring some key elements of my applications. Very good product. I like it:)   I would like to know if you plan to support annotations in the future. The idea ...
    Profile Photo
    last modified by jonathan-macke
  • Byteman agent fails to load on the IBM J9 VM

    We use BMUnitRunner test annotation to dynamically load the agent into the IBM J9 VM which fails with   *** java.lang.instrument ASSERTION FAILED ***: "jvmtierror == JVMTI_ERROR_NOT_AVAILABLE" at JPLISAgent.c li...
    Profile Photo
    last modified by mmusgrov
  • Transformation failed after moving to compilation -target 1.7

    Hi all, I'm in the process of moving the build of Hibernate Search to Java7. After changing the compilation settings to output classes in the Java 7 format, some of our unit tests using Byteman fail. It's very easy ...
    Profile Photo
    last modified by sannegrinovero
  • Rule execution sequence

    If we submit different rules trigger at same point (i.e. at same class and function), then in which sequence they got triggered and executed ?
    Profile Photo
    last modified by john.martin.3728
  • Byteman and Wildfly 8

    Hi All,   I'm currently using Wildfly 8.1.0 and I wrote a mini instrumentation framework to debug some applications running in it. But I discovered that Byteman was "configured" in the startup script (I was unaw...
    Profile Photo
    last modified by lopez.alfred
  • How can I use "for ,while and if " in the script file?

    Dear all,   I want to inject some "for,while and if" instructions into myapp  . Could anyone tell  me how I can do it ?   Thank all!
    Profile Photo
    last modified by 89332874
  • Reflection to call Java method from Application from Helper Class

    Hi,   Suppose my application has Class structure like   package A; Class B {     void method()      {  } }   My User defined Helper Class want to Access...
    Profile Photo
    last modified by john.martin.3728
  • Using Loaded classes in Helper Class

    Suppose i have my own helper class defined for application and i loaded my helper class in boot sequence using -b option. but whenever i try to use methods used in application in helper class it's throwing exception...
    Profile Photo
    last modified by john.martin.3728
  • How to access a static field in a class?

    Dear all,        We are using Byteman for fault Injection, we are trying to access a static field in a class. I have read the Programmer Guid. But I have not find the answer. Please consider ...
    Profile Photo
    last modified by 89332874
  • How to Check Rules in Loaded application

    How can we use bmcheck.sh to check rules in loaded web application in web server.
    Profile Photo
    last modified by john.martin.3728
  • Reload custom helper class

    I installed byteman agent in a running JVM using provided "org.jboss.byteman.agent.install" with custom helper in agent option. How can i load modified helper classes (i.e. load helper jar) ? If i try run same Install...
    Profile Photo
    last modified by vinod.patil
  • typeCheck Error - Help needed

    I'm new to byteman. So far impressed with it. Right now using it test some failover scenarios. I have a rule like below for simulating a LDAP failure from spring security.   RULE error ldap entry failover CLA...
    Profile Photo
    last modified by skhprabu
  • java.lang.LinkageError when class loaded dynamically

    Hi,   I would like ask for solution of the trouble of invoking rule on dynamically loaded classes. I would like to get some more logging at place of XAResource commit. Running on EAP app server.   I've cr...
    Profile Photo
    last modified by ochaloup
  • Rule Helper Lifecycle Method

    Hi,   Suppose i am using byteman with my own defined Helper class with extends "org.jboss.byteman.rule.helper.Helper". I defined method "void startThread()". How can i call this method directly without submittin...
    Profile Photo
    last modified by vinod.patil
  • Listing content of array as debugging information

    Hi,   I have one more doubt if you don't mind. I would like get listed content of an array which will be then printed by traceln in DO part of the byteman script. How can I achieve this?   My intention is ...
    Profile Photo
    last modified by ochaloup