]
Jeff Mesnil moved JBEAP-8133 to WFLY-7857:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7857 (was: JBEAP-8133)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JMS
(was: JMS)
Affects Version/s: 10.1.0.Final
(was: 7.0.3.GA)
Unable to create http-acceptors with same name for 2 different
server
---------------------------------------------------------------------
Key: WFLY-7857
URL:
https://issues.jboss.org/browse/WFLY-7857
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.1.0.Final
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
To reproduce, create 2 messaging-activemq's server with the same configuration of
http-acceptor:
{code}
<server name="default">
....
<http-acceptor name="http-acceptor"
http-listener="default"/>
...
</server>
<server name="other">
...
<http-acceptor name="http-acceptor"
http-listener="default"/>
...
</server>
{code}
WildFly starts with the error:
{code}
16:24:47,503 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread
Pool -- 51) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "messaging-activemq"),
("server" => "other"),
("http-acceptor" => "http-acceptor")
]): org.jboss.msc.service.DuplicateServiceException: Service
jboss.messaging-activemq.http-upgrade-service.http-acceptor is already registered
{code}