Thread byteman - traceing internal value of thread class
byteman - traceing internal value of thread classHi, there? I am a newbie to the byteman. I have a question. 1) Is it possible monitoring body of run() method, only using byteman, without System.out.println() statement? In particular, conside...
[announce] BytemanPkg Version 1.2.4.1 I delivered BytemanPkg on Github site : https://github.com/PASTJL/bytemanPkg Take a look at the readme file : https://github.com/PASTJL/bytemanPkg/blob/master/README.md I give some tips to use BytemanPkg ( ...
CompileException invalid stack height 2 expecting 1Hi, I am getting this exception when a Byteman Rule is being initially loaded on my server. 19:58:18,028 INFO [stdout] (ServerService Thread Pool -- 60) Rule.ensureTypeCheckedCompiled : error compiling...
Thread [annouce] BytemanPkg 1.2.1 available on GitHub site
[annouce] BytemanPkg 1.2.1 available on GitHub siteAs announced few weeks ago, i began a project BytemanPkg A new version 1.2.1 of BytemanPkg is available. https://github.com/PASTJL/bytemanPkg/ This version correct bugs on Helpers ( MultiThreading) and brings imp...
A small question from a starterHi All, I am confused how to get a local variable within the target method scope. for example:
public class LocalVar {
public static void main(String[] args){
...
Maven + Surefire + Byteman + java.io.tmpdir = Tests failuresHi all, We are using in our project Byteman with our Junit Tests Managed by Maven and its surefire plugin to add some additionnal controls (number of jdbc queries used for ex). Cleaning up our b...
Skipping code with Byteman?I want to post to the forum a conversation I had with Andrew, in the hope it might be useful to someone. --------------------------------------------------------------------------------------------------------...
[announce] a byteman rule packagerHello, i have just finished a byteman rules packager. A library of about fifteen template rules and helpers. You can download it at GitHub repo => https://github.com/PASTJL/bytemanPkg here is the readme for more ...
Thread java.lang.VerifyError when using byteman in JBOSS AS7
java.lang.VerifyError when using byteman in JBOSS AS7Hi folks, i am trying to use byteman in JBOSS AS7, but i always get the "java.lang.VerifyError" when i using "bmsubmit.sh" to submit a script. Below is the full error message: bmsubmit.sh -l aaa.btm inst...
Injecting fault in java.net.SocketHello, I'm trying to use byteman as part of an integration test [1], to make sure a client configured to use an HTTP proxy for a REST API is indeed going through the HTTP proxy instead of making straight netwo...
Apply rule to specific J2EE applicationHi, I'm using Byteman for fault injection. My tests run on application server with Byteman installed. The test loads rules, make some calls, checks results and uploads rules. Application server has several cop...
Thread Custom Helper Methods - VarArgs Not Supported ?
Custom Helper Methods - VarArgs Not Supported ?Based on some testing with 2.1.3, it seems that VarArg methods in the declared helper cannot be matched and are not supported. I tried working around this with some vaguely "array" looking syntax in my ...
Thread Byteman Exception while running Hibernate-ORM Tests
Byteman Exception while running Hibernate-ORM TestsWhile running the hibernate-orm test cases for 4.2.2.Final, the following exception occured: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Me...
Support for multiple class loadersHi, I'm using Byteman on an application built with multiple class loaders: everything works fine, except custom helpers: this is because they are loaded using the target class loader, a custom one in my case, ...
Unknown helper class executing rule in EAPI am trying to instrument a class in a postgres jdbc driver deployed into EAP as a module, using a custom Helper class. Whenever the rule is executed, org.jboss.byteman.rule.Rule.typeCheck can not resolve the custom H...