Log in to follow, share, and participate in this community.
Thread Unable to identify test JVM process during agent load
Unable to identify test JVM process during agent loadI am trying to use ByteMan in fault injection tests, but it does not seem to be well maintained at the moment. For example, when I try to use it with JUnit (using BMUnit library), I get the following error: Unable to ...
Thread NoClassDefFoundError from a class within the same package
NoClassDefFoundError from a class within the same packageHello, I'm having an issue with instrumenting a particular framework using Byteman and I was hoping to get some guidance. The rule: RULE FilterChainBuilder.build
CLASS ^org.glassfish.grizzly.filterchain.Filter...
How to create and access the counters?Hello, I have tried below way of creating and accessing the counters. But, observing the error: threw org.jboss.byteman.rule.exception.ParseException: rule try-counter-1 k_try_count.btm line 8 : invalid expression ...
Thread Lifetime and scope of Helper Classes in Byteman
Lifetime and scope of Helper Classes in BytemanHi team, I was able to put together an injection application after a previous discussion here. Also took your suggestion on getting bootstrap and system helpers to communicate : Alternatively, your bootstra...
Rule.execute for decommissioned keyHi adinn, I'm here with like a dummy question. Unfortunately I'm not even capable to describe it somehow technically. I feel my problem is caused by some random memory swaps or by the mood of my JVM Anyway......
Byteman and JDK 10.0.1Hi, While my test using BMUnit is working nicely on Java 9 it fails on Oracle JDK 10.0.1 with the following error from Surefire : # Created at 2018-06-20T12:08:53.880 Corrupted STDOUT by directly writing to native ...
Thread Rules must be unloaded and reloaded to work
Rules must be unloaded and reloaded to workHey, I'm following the byteman blog at Byteman Blog: Collecting and Displaying Runtime Statistics With Byteman with some modifications to collect some thread related statistics. I'm using byteman 4.0.1 with Wildfly 1...
Installing Byteman agent in remote JVMHi, as part of my master thesis I'm currently investigating Byteman's capabilities to extract data from applications or disrupt their program flow. Further, I hope to find ways how to prevent this. But for now I'm tr...
Byteman on JDK10Hello, our project has been using Byteman 4.0.0 recently and all is working well, even on Java 9. But now we're building on JDK 10 and the rules are no longer applied: [WARNING] Bundled version of ASM cannot...
Thread How rule injection to abstract classes works
How rule injection to abstract classes worksHi adinn, If you have time, I wonder about this: I tried to inject a rule at the abstract class but it does work strangely a bit. I have here three cases where a class extends an abstract class. ...
Thread Thread dump with many threads blocked on getInitiatedClasses
Thread dump with many threads blocked on getInitiatedClassesI have a thread dump from a customer's Tomcat app with 150 threads blocked on calls to sun.instrument.InstrumentationImpl.getInitiatedClasses0(Native Method). The common calls for all of these are as follows: ...
Byteman and jdwpI am wondering if I can have both byteman and jdwp enabled at the same time for remote usage so that I can remotly tracing and debugging at the same time?
Rule.typecheck : unknown helper classI'm trying to inspect a code which is within an existing jar. I have created a custom helper to trace the content for a parameter. Although the app is throwing an exception when reaching that point org.jboss.by...
Thread Instrumenting classes from both boot and non-boot in Tomcat
Instrumenting classes from both boot and non-boot in TomcatHi, I'm having a problem configuring the -javaagent flag in the JAVA_OPTS to Tomcat for loading BYTEMAN agent so that it can see rules for classes loaded at both boot and non-boot. Here are a couple rule...