-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
14.0.0.Final
-
None
-
-
Workaround Exists
-
If datasources subsystem is removed and Example datasource is created in datasources-agroal subsystem it is expected that Example datasource (java:jboss/datasources/ExampleDS) is bound to java:comp/DefaultDataSource, but it is not.
12:33:17,605 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "testwebapplication.war")]) - failure description: { "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.module.testwebapplication.testwebapplication.DefaultDataSource"], "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.testwebapplication.testwebapplication.env.\"org.jboss.qa.msimka.testwebapp.TestBean\".myDS is missing [jboss.naming.context.java.module.testwebapplication.testwebapplication.DefaultDataSource]"] }
JNDI of datasource that should be bound to default datasource can be defined in ee subsystem
Datasources subsystem is currently responsible for DefaultDatasource binding.