- 
        1. Re: Jboss CLI - module remove command fails when any class is explicitly loadedrareddy May 29, 2014 8:25 AM (in response to madhu.garimilla)What are the CLI commands that you use for adding and removing? 
- 
        2. Re: Jboss CLI - module remove command fails when any class is explicitly loadedmadhu.garimilla May 30, 2014 2:12 AM (in response to rareddy)Ramesh, I am using the following commands for adding and removing modules. For adding module module add --name=com.ex.custom.module --slot=main --resources=c:\custom\module\test-resource.jar --module-xml=c:\custom\module\module.xml For removing module module remove --name=com.ex.custom.module I am using Jboss CommandContext class to run these commands. 
- 
        3. Re: Jboss CLI - module remove command fails when any class is explicitly loadedrareddy May 30, 2014 8:07 AM (in response to madhu.garimilla)I did not read clearly before, but doing that make system unstable, when you are using one of the classes? Do you know you can also load a JAR as module with out going through creating a module.xml etc. Just do "deploy jar-file" then module name will be "deployment.jar-file", see http://www.mastertheboss.com/jboss-as-7/jboss-as-7-classloading 
 
    