Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7857

Unable to create http-acceptors with same name for 2 different server

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 10.1.0.Final
    • 11.0.0.Alpha1
    • JMS
    • None

    Description

      To reproduce, create 2 messaging-activemq's server with the same configuration of http-acceptor:

                  <server name="default">
                      ....
                      <http-acceptor name="http-acceptor" http-listener="default"/>
                      ...
                  </server>
                  <server name="other">
                      ...
                      <http-acceptor name="http-acceptor" http-listener="default"/>
                      ...
                  </server>
      

      WildFly starts with the error:

      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
      

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: