The "jboss.web.deployment:war=file.war,*" should work. Are you using the MBeanServerConnection.queryNames() method? That should return a Set of ObjectName objects that match the query.
This is what I'm using to query my services (e.g. an SMTP service):
ObjectName smtpService = new ObjectName("domain.com:service=SmtpService"); setSmtpStatus((String)server.getAttribute(smtpService, "StateString"));
Like I said, you need to use the queryNames method to get all mbean names what match a wild card. For example:
ObjectName on = new ObjectName("jboss.web.deployment:war=file.war,*");
Set mv = server.queryNames(on, null);
Each entry in mv is an ObjectName of a matching mbean. In this case, there should be at most one name in the set.
That did the trick. Thanks!