Log in to follow, share, and participate in this community.
Thread Instrumenting Spark Streaming with Byteman
Instrumenting Spark Streaming with BytemanHi, I am trying to modify spark streaming program using byteman (see the Java and Byteman rule snippets below) .
JavaPairInputDStream<String, String> messages = KafkaUtils.createDirectStream(
...
Thread Byteman rules on application classes in Wildfly not executed
Byteman rules on application classes in Wildfly not executedIn 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...
Thread AT INVOKE location specifier does not match method descriptor
AT INVOKE location specifier does not match method descriptorHello, 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 ...
Helper class issue on server startupI 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...
Stopping a JUnit test with BytemanHello 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...
Thread Any plan to support annotations in Byteman?
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 ...
Thread Byteman agent fails to load on the IBM J9 VM
Byteman agent fails to load on the IBM J9 VMWe 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...
Thread Transformation failed after moving to compilation -target 1.7
Transformation failed after moving to compilation -target 1.7Hi 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 ...
Rule execution sequenceIf we submit different rules trigger at same point (i.e. at same class and function), then in which sequence they got triggered and executed ?
Byteman and Wildfly 8Hi 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...
Using Loaded classes in Helper ClassSuppose 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...
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 ...
Reload custom helper classI 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...
typeCheck Error - Help neededI'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...
Thread java.lang.LinkageError when class loaded dynamically
java.lang.LinkageError when class loaded dynamicallyHi, 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...
Rule Helper Lifecycle MethodHi, 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...
Thread Listing content of array as debugging information
Listing content of array as debugging informationHi, 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 ...