Detailed JMX attributes and data about the components 'in' a swarm instances are not published via JMX. The detailed attributes I am looking for are those like found under "jboss.as" and "jboss.as.expr" when running a JBOSS EAP or regular Wildfly instance and connecting (locally) via PID with a tool like JMC.
When I run a simple Swarm WAR and connect to the PID with JMC; those trees or anything like them are missing.
This can be seen using just using the 'JSF' example in the https://github.com/wildfly-swarm/wildfly-swarm-examples. Build it, run it via java -jar ./target/example-jsf-swarm.jar and connection with JMC; I only get basic JMX data. I doctored the JSF pom and added:
Rebuilt and reran; same results. I did see during the swarm startup logging that JMX and management fractions were loaded.
I created in a project-defaults.yml and ran via: java -jar ./target/example-jsf-swarm.jar -s project-defaults.yml. I got the same results.
Here is the projects-defaults.yml:
There is a google-groups thread about this issue: