Facing exception WFLYCTL0013 during deployment after removing ExampleDS datasource in JBoss EAP 7.
Issue
- Issues are encountered when attempting to deploy an application that has no datasource reference with the following error:
ERROR [org.jboss.as.server:136 - handleResult] (management-handler-thread - 6): `WFLYSRV0021`: Deploy of deployment "ESB.war" was rolled back with the following failure message: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.ESB.ESB.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
ERROR [org.jboss.as.controller.management-operation:893 - executeStep] (management-handler-thread - 10): `WFLYCTL0013`: Operation ("deploy") failed - address: ({"deployment" => "ESB.war"}) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.ESB.ESB.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
Environment
- Red HatJBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
