]
Stefano Maestri moved JBEAP-8774 to WFLY-8075:
----------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8075 (was: JBEAP-8774)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JCA
(was: JCA)
Affects Version/s: (was: 7.1.0.DR11)
datasources subsystem should not depend on legacy security subsystem
--------------------------------------------------------------------
Key: WFLY-8075
URL:
https://issues.jboss.org/browse/WFLY-8075
Project: WildFly
Issue Type: Bug
Components: JCA
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Priority: Critical
After removing the legacy {{security}} subsystem and booting the server, you see
{noformat}
11:31:07,203 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "ExampleDS")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.security.subject-factory",
"jboss.security.simple-security-manager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["org.wildfly.data-source.ExampleDS is missing
[jboss.security.simple-security-manager, jboss.security.subject-factory]"]
}
11:31:07,207 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "ExampleDS")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.security.subject-factory",
"jboss.security.simple-security-manager",
"jboss.security.subject-factory",
"jboss.security.simple-security-manager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.ExampleDS is missing
[jboss.security.simple-security-manager, jboss.security.subject-factory]",
"org.wildfly.data-source.ExampleDS is missing
[jboss.security.simple-security-manager, jboss.security.subject-factory]"
]
}
{noformat}
Which means that datasources subsystem requires functionality of the legacy security
subsystem. It should be possible to completely get rid of the legacy subsystem and work
with just Elytron.