Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-17

AMQ222117: unable to start cluster connection

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: A-MQ 7.0.0.ER11
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      JBoss A-MQ 7.0.0.ER11
      Apache Artemis 1.4.0
      OSX

    • Target Release:
    • Steps to Reproduce:
      Hide

      1) Create broker using A-MQ7-7.0.0.ER11-redhat-1/bin/artemis create mybroker --shared-store
      2) Start broker using [MYBROKER_HOME]/bin/artemis run

      Show
      1) Create broker using A-MQ7-7.0.0.ER11-redhat-1/bin/artemis create mybroker --shared-store 2) Start broker using [MYBROKER_HOME] /bin/artemis run
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      A broker cluster may fail to initialize properly in environments that support IPv6. The failure is due to a SocketException that is indicated by the log message Can’t assign requested address. To work around this issue, set the java.net.preferIPv4Stack system property to true.
      Show
      A broker cluster may fail to initialize properly in environments that support IPv6. The failure is due to a SocketException that is indicated by the log message Can’t assign requested address. To work around this issue, set the java.net.preferIPv4Stack system property to true.
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      The following error occurs when starting the broker configured with a cluster connection:

      17:04:55,798 WARN  [org.apache.activemq.artemis.core.server] AMQ222117: unable to start cluster connection my-cluster: ActiveMQInternalErrorException[errorType=INTERNAL_ERROR message=AMQ119004: Failed to initialise session factory]
      	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.initialise(ServerLocatorImpl.java:311) [artemis-core-client-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.start(ServerLocatorImpl.java:565) [artemis-core-client-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl.activate(ClusterConnectionImpl.java:622) [artemis-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl.start(ClusterConnectionImpl.java:387) [artemis-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.server.cluster.ClusterManager.start(ClusterManager.java:275) [artemis-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2046) [artemis-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.SharedStoreLiveActivation.run(SharedStoreLiveActivation.java:70) [artemis-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:447) [artemis-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:412) [artemis-jms-server-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:66) [artemis-cli-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:78) [artemis-cli-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:120) [artemis-cli-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:75) [artemis-cli-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_71]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_71]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_71]
      	at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_71]
      	at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:122) [artemis-boot.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:45) [artemis-boot.jar:1.3.0.amq-700004-redhat-1]
      Caused by: java.net.SocketException: Can't assign requested address
      	at java.net.PlainDatagramSocketImpl.join(Native Method) [rt.jar:1.8.0_71]
      	at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) [rt.jar:1.8.0_71]
      	at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323) [rt.jar:1.8.0_71]
      	at org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.openClient(UDPBroadcastEndpointFactory.java:223) [artemis-core-client-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.cluster.DiscoveryGroup.start(DiscoveryGroup.java:105) [artemis-core-client-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.initialise(ServerLocatorImpl.java:306) [artemis-core-client-1.3.0.amq-700004-redhat-1.jar:1.3.0.amq-700004-redhat-1]
      	... 18 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                clebert.suconic Clebert Suconic
                Reporter:
                jsherman Jason Sherman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: