• CFG necessary?

    Hi,   Now I'm browsing through byteman source code, thinking about how to implement my goals (which is a bit vague).   I'm particularly interested in how byteman implemented $^ as well as $!, and what I s...
    Profile Photo
    last modified by bluegol
  • Instrumentation based on Annotation?

    Hi,   (This is bad...) Is there a way for a rule to be triggered based on injection? (I'm expecting "No)   The problem: I'm trying to instrument EJB calls. It appears (I'm a java newbie) that EJB classes ...
    Profile Photo
    last modified by bluegol
  • Accessing objects of private class

    Hi all,   I am trying to trace how servlet handles requests. My rule is:   RULE servlet start in FilterChain INTERFACE javax.servlet.FilterChain METHOD void doFilter(javax.servlet.ServletRequest, javax.s...
    Profile Photo
    last modified by bluegol
  • Unable to deploy multiple application in jboss EAP 6.4

    Hi All,   Currently i am facing an ugly error in JBoss EAP 6.4 that when i deploy multiple application in Jboss EAP 6.4 am getting some stupid error which i could not identify why such error is occuring.   ...
    Profile Photo
    last modified by nicekumar
  • Strange StackOverFlowError for Proxy class

    Hi Andrew,   (It's me again.) Not really a narrowed-down report, but I'd like to share in case anyone has any idea.   Background: I'm trying to trace all jdbc prepared statements (among other things.) The...
    Profile Photo
    last modified by bluegol
  • Is it possible to set local variable AT ENTRY and to use it later AT EXIT?

    Hi,   I'm trying to use byteman to instrument certain calls. Say,   HELPER test.RuleHelper   RULE test at entry CLASS test.Main METHOD void test() AT ENTRY BIND   ti:test.TraceItem = start(...
    Profile Photo
    last modified by bluegol
  • Is it possible to use Byteman on Java 1.6.0_45-b06?

    I'm trying to run Byteman on an old project that has to use Java 6. I was under the impression that this would work, but it looks like there's a bug with how java agents work that actually prevents byteman from runnin...
    Profile Photo
    last modified by taylor.marks
  • Using Byteman to debug Connection refused.

    Hi, I am using Byteman to debug the cause of "Connection refused" errors. Byteman is the tool to unobtrusively help diagnose such problems.   I wrote a script to dump some useful information. Like the URL tha...
    Profile Photo
    last modified by whitingjr
  • Way to define common IMPORT for JBoss modules byteman plugin

    Hi,   I search for way how to set a jboss module to be imported by default when using jboss modules plugin. I mean is there some way, e.g. by some system property, how to define a jboss module to be imported wi...
    Profile Photo
    last modified by ochaloup
  • when the class's access modifier is not public, byteman will failed

    here is the class      class testApp {           public void method1() {              ...
    Profile Photo
    last modified by swimablefish
  • Errors in simple fault injection with TestNG and maven

    Hi All :   I am trying to modify the TestNG test case in the tutorial "BMUnit : Using Byteman with JUnit or TestNG from maven and ant".   But there some errors I cannot figure it out.   The modified ...
    Profile Photo
    last modified by andou528
  • Invalid constructor for target class error message.

    Hi, I am getting this error   org.jboss.byteman.rule.exception.TypeException: NewExpression.typeCheck : invalid constructor for target class java.io.PrintWriter file /home/whiti ngjr/agamemnon/work/redhat/jav...
    Profile Photo
    last modified by whitingjr
  • Proper usage example for $@?

    Here's some Byteman rules that work fine:     RULE trace SLServer initCoreServices at getInstance CLASS ^com.empolis.ecls.server.system.server.Server METHOD initCoreServices AT INVOKE getInstance ALL IF true...
    Profile Photo
    last modified by taylor.marks
  • Byteman preventing Wildfly 8.1.0 from starting?

    When my wildfly 8.1.0 server starts up, it should create an instance of a class.   I'm not sure whether that's happening or not, and I'm unable to change the source code, so I figured I would use Byteman to acco...
    Profile Photo
    last modified by taylor.marks
  • Broken download links for earlier versions of Byteman

    Hello,   I'm in the unfortunate situation of having to debug an issue with an OAS application server running on Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode). I was planning on using Byteman...
    Profile Photo
    last modified by jricart
  • Accessing counter from BMUnit

    I would like to assert in my JUnit test how many times a certain method has executed. For this I create a rule that creates a counter by calling "createCounter()". How can I access the value of this counter from my JU...
    Profile Photo
    last modified by ibrencic
  • BMUnit against a remote JVM

    Hi,   I would like to test an application that is already running in another JVM with BMUnit. I see that it is possible to specify a host:port in the @BMUnitConfig annotation, but I dont understand the details. ...
    Profile Photo
    last modified by ibrencic
  • Invalid stack height compiler error

    Hello Byteman   I'm using a set of rules to examine thread pool usage in Wildfly. The same ruleset compiles and executes on Wildfly when running locally, but fails to pass a type check when running  on a re...
    Profile Photo
    last modified by rachmato
  • Shared state across rule executions

    Hello Byteman   I have a set of rules which need to share state - one rule has access to some arbitrary state during its execution and another rule needs that state.   For example, when creating a thread ...
    Profile Photo
    last modified by rachmato
  • Accessing classes behind field interfaces

    Hello Andrew   If class A has an instance variable b of type class B, I can access the variable b in a rule triggered by a method in A like this:   RULE test CLASS A METHOD <init> AT EXIT BIND  ...
    Profile Photo
    last modified by rachmato