I've been trying to deploy a mbean inside of a war archive and despite reading that that is possible it does not get deployed, wherever I place the jboss-service.xml inside the archive, anybody knows more?
Hello
Place your jboss-service.xml file inside sar archive.
So you will have two archives. Now you only need to create ear archive containing war and sar archives.
vitor_b