]
Jeff Mesnil moved JBEAP-8721 to WFLY-8054:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8054 (was: JBEAP-8721)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JMS
(was: JMS)
Remove messaging's required dependency to SecurityDomainService
---------------------------------------------------------------
Key: WFLY-8054
URL:
https://issues.jboss.org/browse/WFLY-8054
Project: WildFly
Issue Type: Bug
Components: JMS
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
The messaging-activemq subsystem can use either a legacy security-domain or the new
elytron-domain.
However, when only elytron-domain is defined (and any legacy security domain is removed),
the subsystem fails to boot with the error:
{code}
17:52:34,634 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "messaging-activemq"),
("server" => "default")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.security.security-domain.other"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["jboss.messaging-activemq.default is missing
[jboss.security.security-domain.other]"]
}
{code}
The dependency to jboss.security.security-domain.other must be optional and set only when
elytron-domain is not defined.