Today the resource key for a Web App (WAR) on RHQ inventory is its filename (e.g
Resource Key: vfsfile:/opt/jboss-eap-5.1/jboss-as/server/default/deploy/jmx-console.war/).
IMHO I think would be better use the context of the webapp. Some times you need to update/redeploy the same webapp (web context) using a different WAR name (e.g when you use some build tool like maven that appends the version number to the pkg name - MyWebApp-1.0.1.war), but the web context remains the same.
Today if you need to change the WAR file name RHQ handles it as a different/unique resource. What do you think about this? Is there any bugzilla about this issue?