- /subsystem=datasources/data-source=ExampleDS:write-attribute(name=enabled,value=false)
- :reload
- deploy ~/redhat/git/quickstart/logging/target/jboss-logging.war
OUtcome:
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" =>
{"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.datasources.ExampleDS"],"WFLY
CTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jboss-logging.jboss-logging.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
}}
This will happen even with empty.war - which contain only index.html