問題タブ [byteman]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
19 参照

java - インストール後の Byteman 4.0.14 検証コマンド

byteman をインストールするためのスクリプトを powershell n linux スクリプトに書きました。システム変数を byteman ホームとしてチェックした後、インストールは成功し、変数とパスに追加されます。しかし、それがインストールされているかどうかを確認するにはどうすればよいですか。

0 投票する
1 に答える
37 参照

performance - How to crash Jboss based on some condition

I am using JBoss 7x, and have the following use case.

I am going to do load testing of messaging queues with Jboss. The queues are external to JBoss.

I will push a lot of message in the queue, around 1000 message. When around 100+ message has been pushed I want to crash JBoss. Later I want to re-start the Jboss the verify the message processing.

I had earlier made use of Byteman to crash the JVM using the following

JAVA_OPTS="-javaagent:/BYTEMAN_HOME/lib/byteman.jar=script:/QUICKSTART_HOME/jta-crash-rec/src/main/scripts/xa.btm ${JAVA_OPTS}"

Details are here: https://github.com/Naresh-Chaurasia/jboss-eap-quickstarts/tree/7.3.x/jta-crash-rec

In the above case when ever XA Transaction is happening the JVM is being crashed using byteman, but in my case I want to only crash the JVM/Jboss lets say after 100+ messages. i.e not for each transaction but after processing some messages.

I have also tried a few examples from here, to get ideas of how to achieve it, but did not succeed. https://developer.jboss.org/docs/DOC-17213#top

Question: How can I crash JBoss/ running JVM using byteman or some other way.

0 投票する
1 に答える
18 参照

byteman - リモート byteman エージェントがエラーを報告しました

2 つのルールで何が問題なのかを理解するには、少し助けが必要です。

bmcheck ショーの実行

ルールを送信すると、このエラーが表示されます

これはjvmのコンソールにあります

他に確認すべきことはありますか?

0 投票する
1 に答える
18 参照

java - Bad Request 400 が原因で bmsubmit が機能していません。なぜですか?

byteman 4.0.17 を使用しています。byteman のインストールに成功しました。bmsubmit.sh ツールを使用すると、エラーがスローされます。

また、ルールを送信しようとすると、エラーが発生します。

ここで何か間違っていますか?