I'm trying to write a small *.war "watchdog" to keep tabs on the deployment status of several other *.ears.
there are several *.ear "failure" modes that will still cause jboss to mark a *.ear as deployed - for example a datasource being down or a @Startup @Singleton who's @PostConstruct method throws an exception.
is there any way to query jboss for this information? using msc, jmx, or any other API?
specifically i would like to have access to @SIngletons that failed to start, @EJBs that cannot be deployed due to missing dependencies, datasources that cannot be instantiated (because the db is down) etc.