jcliff icon indicating copy to clipboard operation
jcliff copied to clipboard

Removing driver (h2) & datasource (ExampleDS) won't work at the same time

Open rbrackma opened this issue 10 years ago • 0 comments

When trying to apply both *.json files at the same time, JCliff will stop with the following error :

Exception in thread "main" java.lang.RuntimeException: Operation failed:{"outcome" => "failed","failure-description" => "JBAS014762: Removing services has lead to unsatisfied dependencies: Service jboss.jdbc-driver.h2 was depended upon by service jboss.data-source.java:jboss/datasources/ExampleDS, service jboss.driver-demander.java:jboss/datasources/ExampleDS","rolled-back" => true} at com.redhat.jcliff.Configurable$DefaultPostprocessor.process(Configurable.java:59) at com.redhat.jcliff.Ctx.runcmd(Ctx.java:70) at com.redhat.jcliff.Ctx.runQueuedCmds(Ctx.java:99) at com.redhat.jcliff.Main.main(Main.java:230)


1_datasource-remove-exampleds.json { "datasource" => { "ExampleDS" => "deleted" } }

2_driver-remove-h2.json { "jdbc-driver" => { "h2" => "deleted" } }

rbrackma avatar Oct 01 '14 15:10 rbrackma