0 Replies Latest reply on Sep 18, 2009 10:43 AM by Andrew Dinn

    Oops! new 1.1.0 listener option is ass-backwards

    Andrew Dinn Master

      The 1.1.0 release includes a new option to the -javaagent JVM argument listener:true or listener:false (the default).

      If listener:true is supplied then the Byteman agent should install a Retransformer which spawns a listener thread. This allows rules to be uploaded. while the application is executing using the submit.sh script.

      If listener:false is supplied then the Byteman agent should install a plain old Transformer. This only injects rules from the scripts supplied via the -javaagent JVM argument using option script:myScript.txt.

      Well, the 1.1.0 release has got this the wrong way round. So, by default you get a listener and Retransformer and if you specify listener:true you get a plain old Transformer and no listener. Doh!

      There's a JIRA (BYTEMAN-37) and a fix which will be included in the next release (1.1.1).