[ https://issues.apache.org/jira/browse/ARTEMIS-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491136#comment-17491136 ]
Ekta edited comment on ARTEMIS-3683 at 2/11/22, 8:29 PM: --------------------------------------------------------- Below is the rest of it. 2022-02-11 14:13:32,994 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.18.0 master2, nodeID=8afcba36-8af2-11ec-8aa8-000d3a0fb922] 2022-02-11 14:13:34,804 INFO [org.apache.activemq.hawtio.branding.PluginContextListener] Initialized activemq-branding plugin 2022-02-11 14:13:35,224 INFO [org.apache.activemq.hawtio.plugin.PluginContextListener] Initialized artemis-plugin plugin 2022-02-11 14:13:35,991 INFO [io.hawt.HawtioContextListener] Initialising hawtio services 2022-02-11 14:13:36,036 INFO [io.hawt.system.ConfigManager] Configuration will be discovered via system properties 2022-02-11 14:13:36,040 INFO [io.hawt.jmx.JmxTreeWatcher] Welcome to Hawtio 2.13.5 2022-02-11 14:13:36,061 INFO [io.hawt.web.auth.AuthenticationConfiguration] Starting hawtio authentication filter, JAAS realm: "activemq-web" authorized role(s): "amq" role principal classes: "org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal" 2022-02-11 14:13:36,205 INFO [io.hawt.system.ProxyAllowlist] Probing local addresses ... 2022-02-11 14:13:36,215 INFO [io.hawt.system.ProxyAllowlist] Initial proxy allowlist: [localhost, 127.0.0.1, 10.115.48.37, 10-115-48-37.na.odcorp.net] 2022-02-11 14:13:36,602 INFO [io.hawt.web.servlets.JolokiaConfiguredAgentServlet] Jolokia overridden property: [key=policyLocation, value=file:/app/apache/amq/master2/etc/jolokia-access.xml] 2022-02-11 14:13:36,792 WARN [org.apache.activemq.artemis.utils.actors.OrderedExecutor] Server locator is closed (maybe it was garbage collected): java.lang.IllegalStateException: Server locator is closed (maybe it was garbage collected) at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:1850) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:648) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:549) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:528) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.server.cluster.ClusterController$ConnectRunnable.run(ClusterController.java:491) [artemis-server-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65) [artemis-commons-2.18.0.jar:2.18.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_322] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_322] at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.18.0.jar:2.18.0] 2022-02-11 14:13:36,999 INFO [io.hawt.web.auth.AuthenticationFilter] Destroying hawtio authentication filter 2022-02-11 14:13:37,002 INFO [io.hawt.HawtioContextListener] Destroying hawtio services 2022-02-11 14:13:37,025 INFO [org.apache.activemq.hawtio.plugin.PluginContextListener] Destroyed artemis-plugin plugin 2022-02-11 14:13:37,033 INFO [org.apache.activemq.hawtio.branding.PluginContextListener] Destroyed activemq-branding plugin 2022-02-11 14:13:37,105 INFO [org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis Message Broker version 2.18.0 [8afcba36-8af2-11ec-8aa8-000d3a0fb922] stopped, uptime 9.690 seconds was (Author: ekta-awasthi): Below is the rest of it. 2022-02-11 14:13:32,994 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.18.0 master2, nodeID=8afcba36-8af2-11ec-8aa8-000d3a0fb922] 2022-02-11 14:13:34,804 INFO [org.apache.activemq.hawtio.branding.PluginContextListener] Initialized activemq-branding plugin 2022-02-11 14:13:35,224 INFO [org.apache.activemq.hawtio.plugin.PluginContextListener] Initialized artemis-plugin plugin 2022-02-11 14:13:35,991 INFO [io.hawt.HawtioContextListener] Initialising hawtio services 2022-02-11 14:13:36,036 INFO [io.hawt.system.ConfigManager] Configuration will be discovered via system properties 2022-02-11 14:13:36,040 INFO [io.hawt.jmx.JmxTreeWatcher] Welcome to Hawtio 2.13.5 2022-02-11 14:13:36,061 INFO [io.hawt.web.auth.AuthenticationConfiguration] Starting hawtio authentication filter, JAAS realm: "activemq-web" authorized role(s): "amq,EAI_Administrator_G,EAI_Developer_G" role principal classes: "org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal" 2022-02-11 14:13:36,205 INFO [io.hawt.system.ProxyAllowlist] Probing local addresses ... 2022-02-11 14:13:36,215 INFO [io.hawt.system.ProxyAllowlist] Initial proxy allowlist: [localhost, 127.0.0.1, 10.115.48.37, 10-115-48-37.na.odcorp.net] 2022-02-11 14:13:36,602 INFO [io.hawt.web.servlets.JolokiaConfiguredAgentServlet] Jolokia overridden property: [key=policyLocation, value=file:/app/apache/amq/master2/etc/jolokia-access.xml] 2022-02-11 14:13:36,792 WARN [org.apache.activemq.artemis.utils.actors.OrderedExecutor] Server locator is closed (maybe it was garbage collected): java.lang.IllegalStateException: Server locator is closed (maybe it was garbage collected) at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:1850) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:648) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:549) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:528) [artemis-core-client-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.core.server.cluster.ClusterController$ConnectRunnable.run(ClusterController.java:491) [artemis-server-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.18.0.jar:2.18.0] at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65) [artemis-commons-2.18.0.jar:2.18.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_322] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_322] at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.18.0.jar:2.18.0] 2022-02-11 14:13:36,999 INFO [io.hawt.web.auth.AuthenticationFilter] Destroying hawtio authentication filter 2022-02-11 14:13:37,002 INFO [io.hawt.HawtioContextListener] Destroying hawtio services 2022-02-11 14:13:37,025 INFO [org.apache.activemq.hawtio.plugin.PluginContextListener] Destroyed artemis-plugin plugin 2022-02-11 14:13:37,033 INFO [org.apache.activemq.hawtio.branding.PluginContextListener] Destroyed activemq-branding plugin 2022-02-11 14:13:37,105 INFO [org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis Message Broker version 2.18.0 [8afcba36-8af2-11ec-8aa8-000d3a0fb922] stopped, uptime 9.690 seconds > Failed to bind acceptor cluster to > ---------------------------------- > > Key: ARTEMIS-3683 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3683 > Project: ActiveMQ Artemis > Issue Type: Task > Components: Broker > Affects Versions: 2.18.0 > Environment: Nonprod > Reporter: Ekta > Priority: Major > > I am facing below issue when I am trying to start up the broker using 2.18. > It looks it is complaining about the {{acceptor}} "cluster" in > {{broker.xml}}. My other server was facing the same issue while starting the > server the first time, but when I re-tried starting the server again it > worked. Both server are configured the exact same way. > {{broker.xml}} (networking {{acceptor}} block attached for reference): > {code:xml} > <!-- > ########################################### > ### Networking and cluster settings ### > ########################################### > --> > <acceptors> > <!-- useEpoll means: it will use Netty epoll if you are on a system > (Linux) that supports it --> > <!-- amqpCredits: The number of credits sent to AMQP producers --> > <!-- amqpLowCredits: The server will send the # credits specified at > amqpCredits at this low mark --> > <!-- Note: If an acceptor needs to be compatible with HornetQ and/or > Artemis 1.x clients add > > "anycastPrefix=jms.queue.;multicastPrefix=jms.topic." to the acceptor url. > See > https://issues.apache.org/jira/browse/ARTEMIS-1644 for more information. --> > <!-- Acceptor for every supported protocol --> > <acceptor > name="artemis">tcp://master2.odazprivatecloud.com:61618?protocols=AMQP,CORE,OPENWIRE;tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;useEpoll=true;sslEnabled=true;keyStorePath=${SSL_KEYSTORE_PATH};keyStorePassword=${SSL_KEYSTORE_PASSWORD};enabledProtocols=${TLS_VERSION};amqpCredits=1000;amqpLowCredits=300</acceptor> > <!-- Acceptor for cluster coordination --> > <acceptor > name="cluster">tcp://master2.odazprivatecloud.com:5001?protocols=CORE;tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;useEpoll=true</acceptor> > </acceptors> > <connectors> > <connector > name="broker2-master-connector">tcp://master2.odazprivatecloud.com:5001?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;useEpoll=true</connector> > <connector > name="broker2-slave-connector">tcp://slave2.odazprivatecloud.com:5001?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;useEpoll=true</connector> > </connectors> > <cluster-user>${ARTEMIS_CLUSTER_USER}</cluster-user> > <cluster-password>${ARTEMIS_CLUSTER_PASSWORD}</cluster-password>{code} > Error: > {noformat} > 2022-02-11 14:13:32,989 ERROR [org.apache.activemq.artemis.core.server] > AMQ224000: Failure in initialisation: java.lang.IllegalStateException: > AMQ229230: Failed to bind acceptor cluster to > master2.odazprivatecloud.com:5001 > at > org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor.startServerChannels(NettyAcceptor.java:741) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor.start(NettyAcceptor.java:522) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.startAcceptors(RemotingServiceImpl.java:318) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.completeActivation(ActiveMQServerImpl.java:3347) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation.run(SharedNothingLiveActivation.java:120) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:642) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:561) > [artemis-server-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:64) > [artemis-cli-2.18.0.jar:2.18.0] > at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:115) > [artemis-cli-2.18.0.jar:2.18.0] > at > org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:155) > [artemis-cli-2.18.0.jar:2.18.0] > at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:103) > [artemis-cli-2.18.0.jar:2.18.0] > at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:130) > [artemis-cli-2.18.0.jar:2.18.0] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [rt.jar:1.8.0_322] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > [rt.jar:1.8.0_322] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > [rt.jar:1.8.0_322] > at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_322] > at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) > [artemis-boot.jar:2.18.0] > at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) > [artemis-boot.jar:2.18.0] > Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: > Cannot assign requested address{noformat} -- This message was sent by Atlassian Jira (v8.20.1#820001)