Otavio Rodolfo Piske created CAMEL-20269:
--------------------------------------------

             Summary: camel-test-infra-artemis: concurrency issues
                 Key: CAMEL-20269
                 URL: https://issues.apache.org/jira/browse/CAMEL-20269
             Project: Camel
          Issue Type: Bug
          Components: camel-test-infra-artemis
            Reporter: Otavio Rodolfo Piske
            Assignee: Otavio Rodolfo Piske


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

  
{code:java}
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]
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to