Just an FYI: I wrote this up to explain some thinking that has been getting done regarding how to deploy the RHQ Server's Installer WAR and main EAR from within an AS7 extension in order to support future patching (and other reasons): https://docs.jboss.org/author/display/RHQ/Deploying+Via+AS7+Extension+Module