Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20269

camel-test-infra-artemis: concurrency issues

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.4.0
    • camel-test-infra
    • None
    • Unknown

    Description

      Greater concurrency seems to be causing embedded Artemis initialization to fail.

      37   │ 2023-12-20 21:36:36,118 [Pool-1-worker-6] ERROR server                         - AMQ224000: Failure in initialisation
        38   │ java.lang.IllegalArgumentException: AMQ229062: Acceptor with id 0 already registered
        39   │     at org.apache.activemq.artemis.core.remoting.impl.invm.InVMRegistry.registerAcceptor(InVMRegistry.java:32) ~[artemis-server-2.31.2.jar:2.31.2]
        40   │     at org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor.start(InVMAcceptor.java:136) ~[artemis-server-2.31.2.jar:2.31.2]
        41   │     at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.startAcceptors(RemotingServiceImpl.java:316) ~[artemis-server-2.31.2.jar:2.31.2]
        42   │     at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.completeActivation(ActiveMQServerImpl.java:3580) ~[artemis-server-2.31.2.jar:2.31.2]
        43   │     at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:80) ~[artemis-server-2.31.2.jar:2.31.2]
        44   │     at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:720) ~[artemis-server-2.31.2.jar:2.31.2]
        45   │     at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:610) ~[artemis-server-2.31.2.jar:2.31.2]
        46   │     at org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ.start(EmbeddedActiveMQ.java:134) ~[artemis-server-2.31.2.jar:2.31.2]
        47   │     at org.apache.camel.test.infra.artemis.services.AbstractArtemisEmbeddedService.initialize(AbstractArtemisEmbeddedService.java:106) ~[camel-test-infra-artemis-4.4.0-SNAPSHOT-tests.jar:4.4.0-SNAPSHOT]
      

      Attachments

        Activity

          People

            orpiske Otavio Rodolfo Piske
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: