• Byteman on JDK13

    Hi,   I recently attempted to run tests using BMUnit in JDK13 (ea+8). Unfortunately Byteman (4.0.5) seems to fail due to a lack of support for JDK13 in ASM (see below).   Are there any plans to add support...
    Profile Photo
    last modified by y.rodiere
  • Unable to identify test JVM process during agent load

    I 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 ...
    Profile Photo
    last modified by simajohn2018
  • Someone please guide me "HOW TO CONFIGURE SSO" in JBOSS EAP 7 using kerberos on Windows server

    Hi Experts,   I'm a new bee to JBOSS and i've been assigned with a task to configure SSO in JBOSS EAP 7 on windows server.   I've googled a lot but not able to achieve what i was expecting.   Can som...
    Profile Photo
    last modified by docinfs
  • Checking Your Byteman Rule Scripts Under Maven

    What does the Byteman rulecheck maven plugin do? Byteman release 2.1.3 introduced a maven plugin which runs the offline rule parser and type checker before executing any of your maven tests. This pluin allows you to b...
    Profile Photo
    last modified by adinn
  • A Byteman Tutorial

    We're Just Getting Started Here . . .  This article is a simple tutorial  showing you how to get started with Byteman. It explains how to install Byteman and use it to inject side-effects into a simple Java...
    Profile Photo
    last modified by adinn
  • NoClassDefFoundError from a class within the same package

    Hello, 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...
    Profile Photo
    last modified by jam01
  • 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 ...
    Profile Photo
    last modified by dmbhat
  • Lifetime and scope of Helper Classes in Byteman

    Hi 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...
    Profile Photo
    last modified by garimakemwal
  • Bytecode not refreshed on runtime rule injection | java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

    I am trying to inject some code in Java classes ThreadPoolExecutor and Thread classes through a Helper class (attaching the Byteman Rules script).   As soon as the rules are loaded, the application starts to th...
    Profile Photo
    last modified by garimakemwal
  • Rule.execute for decommissioned key

    Hi 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......
    Profile Photo
    last modified by ochaloup
  • is there any method can show byteman instance and submitted scripts

    for example, in server there are 2 tomcat servers, users may start the byteman or not, may submit some rules and forget to unsubmit,  how can i know the working status of byteman?
    Profile Photo
    last modified by xiang2513982
  • Agent failing to load sun.tools.attach.LinuxAttachProvider with OpenJDK 11 on Linux

    Hi all, when running our existing integration tests with:   openjdk version "11-ea" 2018-09-25 OpenJDK Runtime Environment 18.9 (build 11-ea+20) OpenJDK 64-Bit Server VM 18.9 (build 11-ea+20, mixed mode)   ...
    Profile Photo
    last modified by sannegrinovero
  • Byteman and JDK 10.0.1

    Hi, 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 ...
    Profile Photo
    last modified by ehugonnet
  • Instrumentation and tracing of Java classes and methods for each logged-in user in a Java web-based application

    Hi   I have a specific requirement of tracing each logged in user's user journey in a multi-user, multi-session Java web-based application environment. Does Byteman provide any existing solutions/API for profil...
    Profile Photo
    last modified by vishal_m2
  • Rules must be unloaded and reloaded to work

    Hey, 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...
    Profile Photo
    last modified by hhuebler
  • JBOSS EAP 7.0 throws FileNotFoundException for Jar reside inside web-inf\lib folder on Mac

    JBOSS EAP 7.0 throws FileNotFoundException for Jar reside inside web-inf\lib folder on Mac. While same is working fine with EAP 6.4 with same settings. Jar is having big name about 60 character.   I am not able ...
    Profile Photo
    last modified by pbansal
  • Installing Byteman agent in remote JVM

    Hi, 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...
    Profile Photo
    last modified by anonymized013
  • Byteman on JDK10

    Hello, 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...
    Profile Photo
    last modified by sannegrinovero
  • How rule injection to abstract classes works

    Hi 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.  ...
    Profile Photo
    last modified by ochaloup
  • Thread dump with many threads blocked on getInitiatedClasses

    I 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: ...
    Profile Photo
    last modified by tylerbenson