]
James Perkins updated WFLY-6793:
--------------------------------
Git Pull Request: (was:
Batch subsystem cannot be removed with a remove operation
---------------------------------------------------------
Key: WFLY-6793
URL:
https://issues.jboss.org/browse/WFLY-6793
Project: WildFly
Issue Type: Bug
Components: Batch
Reporter: James Perkins
Assignee: James Perkins
The {{batch-jberet}} subsystem fails when a {{remove}} operation is invoked.
{code}
[standalone@localhost:9990 /] /subsystem=batch-jberet:remove
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0171: Removing services has lead
to unsatisfied dependencies:
Service org.wildfly.batch.thread.pool.batch was depended upon by service
org.wildfly.batch.configuration",
"rolled-back" => true,
"response-headers" => undefined
}
{code}
-The batch configuration dependency needs to be removed before the its dependencies are
removed.-
The thread-pool resource should also require a reload before removal. It's used in
deployments and therefore shouldn't just be removed without a reload.