Kategorie: Server

JBoss/Wildfly - Deploying JVM TI agent

Setting java-agent

This set JVM TI agent for server group "main-server-group": (expects domain mode of JBoss)
bin/jboss-cli.sh --connect "/server-group=main-server-group/jvm=default/:write-attribute(name=agent-path,value=\"/home/honza/Wildfly/WildflyServer/JVMTI/libagent.so\")"
After restart of JBoss/Wildfly will be JVM TI agent deployed on all servers in main-server-group.

GUI way

bin/jboss-cli.sh --gui

Wildfly Web Console

Hosts > Host settings > JVM Configurations > Edit > JVM Options:
-server -agentpath:/home/honza/Wildfly/WildflyServer/JVMTI/libagent.so 

Komentáře


Nebyly přidány žádné komentáře.