I was able to find some posts that indicated that I can add a depends on a WAR, but that introduces another issue. My WAR is displaying in the jmx-console under domain jboss.web.deployment as id=1517533031,war=hmyapp.war. When I put this string in the <depends> tag, the monitor pends until the app is deployed, and all is well.
However, this id will change between environments and deployments, so I can't use that identifier.
Can I either 1) put some kind of wildcard into the name in place of the generated id, 2) reference that id via some kind of property, or 3) control that id in my app config.
Or, am I out of luck on 4.0.2?