[ https://issues.apache.org/jira/browse/ARTEMIS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239765#comment-15239765 ]
Justin Bertram commented on ARTEMIS-457: ---------------------------------------- BTW, I believe this is caused by a bug in JGroups for which I've opened https://issues.jboss.org/browse/JGRP-2045 and sent a [PR|https://github.com/belaban/JGroups/pull/302]. > Scale down with live-only ha policy failing > ------------------------------------------- > > Key: ARTEMIS-457 > URL: https://issues.apache.org/jira/browse/ARTEMIS-457 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 1.2.0 > Reporter: Brandon Breuil > Assignee: Justin Bertram > > Scale down with live-only ha policy failing when specifying a > discovery-group-ref. > 14:17:39,093 WARN [org.apache.activemq.artemis.core.server] AMQ222181: > Unable to scaleDown messages: > ActiveMQInternalErrorException[errorType=INTERNAL_ERROR message=AMQ119004: > Fail > ed to initialise session factory] > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.initialise(ServerLocatorImpl.java:301) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:743) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:625) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:606) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.LiveNodeLocator.connectToCluster(LiveNodeLocator.java:84) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.connectToScaleDownTarget(LiveOnlyActivation.java:124) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.freezeConnections(LiveOnlyActivation.java:90) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.freezeConnections(ActiveMQServerImpl.java:802) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:625) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:568) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:527) > [artemis-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.stop(JMSServerManagerImpl.java:404) > [artemis-jms-server-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.integration.FileBroker.stop(FileBroker.java:79) > [artemis-cli-1.2.0.jar:1.2.0] > at org.apache.activemq.artemis.cli.commands.Run$2.run(Run.java:166) > [artemis-cli-1.2.0.jar:1.2.0] > Caused by: java.lang.IllegalStateException: Shutdown in progress > at > java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) > [rt.jar:1.8.0_71] > at java.lang.Runtime.addShutdownHook(Runtime.java:211) > [rt.jar:1.8.0_71] > at org.jgroups.protocols.FILE_PING.init(FILE_PING.java:77) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at org.jgroups.protocols.S3_PING.init(S3_PING.java:66) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at > org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:860) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at org.jgroups.JChannel.init(JChannel.java:853) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at org.jgroups.JChannel.<init>(JChannel.java:159) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at org.jgroups.JChannel.<init>(JChannel.java:129) > [jgroups-3.6.6.Final.jar:3.6.6.Final] > at > org.apache.activemq.artemis.api.core.JGroupsFileBroadcastEndpoint.createChannel(JGroupsFileBroadcastEndpoint.java:43) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.api.core.JGroupsBroadcastEndpoint$JChannelManager.getJChannel(JGroupsBroadcastEndpoint.java:249) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.api.core.JGroupsBroadcastEndpoint.initChannel(JGroupsBroadcastEndpoint.java:102) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.api.core.JGroupsFileBroadcastEndpointFactory.createBroadcastEndpoint(JGroupsFileBroadcastEndpointFactory.java:27) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.cluster.DiscoveryGroup.<init>(DiscoveryGroup.java:94) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createDiscoveryGroup(ServerLocatorImpl.java:308) > [artemis-core-client-1.2.0.jar:1.2.0] > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.initialise(ServerLocatorImpl.java:292) > [artemis-core-client-1.2.0.jar:1.2.0] > ... 13 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)