By default, a deployed application or module is enabled, which means that it is runnable and can be accessed by clients if it has been deployed to an accessible server instance. Use the enable subcommand in remote mode to enable an application or module that has been disabled.
Ensure that the server is running.
Remote commands require a running server.
Enable the application or module by using the enable(1) subcommand.
If the component has not been deployed, an error message is displayed. If the component is already enabled, it is re-enabled. To see the status of deployed components, use the show-component-status(1) subcommand.
Information about the options and properties of the subcommand is included in this help page.
This example enables the sampleApp application.
asadmin> enable sampleApp Command enable executed successfully.
You can also view the full syntax and options of the subcommand by typing asadmin help enable at the command line.