Is there any command or approach(programmatically) to identify if a module is present in JBoss AS 7.2. I have deployed a module using cmd 'module add --name=<module_name> --resources=<module_path>'. Before running this i need to check if the module with above name already exist. Is there any way to do this.
Also, my application is deployed in domain mode(1DomainController+ 2 HostController). I need to check from my domain controller if the module with same name exist on Host controller. How can i check this.
AFAIK there is no possibility to check modules.
Also the module command will not work for domains if you are connected and you have to install the module on each host-controller separate, there is no way to check that with a command via management from the domain-controller