Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rbrackma opened this issue Oct 1, 2014 · 0 comments

Comments

@rbrackma
Copy link

rbrackma commented Oct 1, 2014

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"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant