1. Create a fresh install from "infinispan/server/integration/build"
2. Start the server from "build/target/infinispan-server-9.2.0-SNAPSHOT/bin" executing "./standalone.sh --jmx"
3. Open the http://127.0.0.1:8778/jolokia/version It is not working
Additional Information:
It is not setting the default value for JMX_CONF
JAVA_OPTS: -server -server -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager.LogManager -Djava.awt.headless=true -javaagent:/media/diego/06ebb3d5-7e32-49f5-8ca6-2da68b522ff5/git/infinispan/infinispan/server/integration/build/target/infinispan-server-9.2.0-SNAPSHOT/modules/system/layers/base/io/fabric8/agent-bond/main/agent-bond-agent-1.0.2.jar=
4. Start the server from "build/target/infinispan-server-9.2.0-SNAPSHOT/bin" executing "./standalone.sh --jmx test.conf"
Additional Information:
It is not setting the custom value for JMX_CONF
JAVA_OPTS: -server -server -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager.LogManager -Djava.awt.headless=true -javaagent:/media/diego/06ebb3d5-7e32-49f5-8ca6-2da68b522ff5/git/infinispan/infinispan/server/integration/build/target/infinispan-server-9.2.0-SNAPSHOT/modules/system/layers/base/io/fabric8/agent-bond/main/agent-bond-agent-1.0.2.jar=
1. Create a fresh install from "infinispan/server/integration/build"
2. Start the server from "build/target/infinispan-server-9.2.0-SNAPSHOT/bin" executing "./standalone.sh --jmx"
3. Open the http://127.0.0.1:8778/jolokia/version It is not working
Additional Information:
It is not setting the default value for JMX_CONF
JAVA_OPTS: -server -server -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager.LogManager -Djava.awt.headless=true -javaagent:/media/diego/06ebb3d5-7e32-49f5-8ca6-2da68b522ff5/git/infinispan/infinispan/server/integration/build/target/infinispan-server-9.2.0-SNAPSHOT/modules/system/layers/base/io/fabric8/agent-bond/main/agent-bond-agent-1.0.2.jar=
4. Start the server from "build/target/infinispan-server-9.2.0-SNAPSHOT/bin" executing "./standalone.sh --jmx test.conf"
Additional Information:
It is not setting the custom value for JMX_CONF
JAVA_OPTS: -server -server -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager.LogManager -Djava.awt.headless=true -javaagent:/media/diego/06ebb3d5-7e32-49f5-8ca6-2da68b522ff5/git/infinispan/infinispan/server/integration/build/target/infinispan-server-9.2.0-SNAPSHOT/modules/system/layers/base/io/fabric8/agent-bond/main/agent-bond-agent-1.0.2.jar=
The workaround is edit the "bin/jolokia.sh" and change the variable $1 to point out your file configuration.
Example:
JAVA_OPTS="$JAVA_OPTS -javaagent:$AGENT_BOND_JAR=agent.conf"
Or use Bash to execute the stanalone.sh script, e.g. bash ./standalone.sh --jmx .