We are not able to instrument JBoss EAP 7.4 using 22.3 Java agent -
Release : 21.3
Component : Introscope
EAP 7.4 is not currently certified (as of DX APM 22.3)
Using 20.6 Agent is was possible to start the agent using the following java arguments - the order is significant
-Djboss.modules.system.pkgs=com.wily,com.wily.*,org.jboss.byteman,org.jboss.logmanager
-Djava.util.logging.manager=org.jboss.logmanager.LogManager
--add-exports java.instrument/sun.instrument=ALL-UNNAMED
--add-exports jdk.management/com.sun.management.internal=ALL-UNNAMED
-Dcom.wily.org.apache.commons.logging.Log=com.wily.org.apache.commons.logging.impl.NoOpLog
--patch-module java.base=/jboss/EAP-7.0.0/wily/releases/2022.3/common/AgentSocket.jar
-Xbootclasspath/a:/jboss/EAP-7.0.0/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.3.Final-redhat-1.jar:/jboss/EAP-7.0.0/modules/system/layers/base/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.1.2.Final-redhat-2.jar
-javaagent:/jboss/EAP-7.0.0/wily/Agent.jar -Dsun.util.logging.disableCallerCheck=true
Later agent versions will not run - there is a enhancement request to support EAP 7.4 - US807220