[ https://issues.apache.org/jira/browse/ARTEMIS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-250. ------------------------------------ Resolution: Fixed > Scale down fails with ActiveMQSecurityException > ----------------------------------------------- > > Key: ARTEMIS-250 > URL: https://issues.apache.org/jira/browse/ARTEMIS-250 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 1.1.0 > Reporter: Brandon Breuil > Assignee: Justin Bertram > Fix For: 1.1.1 > > > Scale down is throwing a security exception. It appears that the connection > used to scale down is not authenticating properly with the target server when > security is enabled. I've verified that scale down works properly when > security is disabled. > I'm using a colocated HA policy with replication. > 16:34:35,783 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: > Failure in initialisation: > ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ119031: > Unable to validate user: null] > at > org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:358) > [artemis-core-client-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:283) > [artemis-core-client-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:231) > [artemis-core-client-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1235) > [artemis-core-client-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:617) > [artemis-core-client-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:314) > [artemis-core-client-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.server.impl.ScaleDownHandler.scaleDownMessages(ScaleDownHandler.java:106) > [artemis-server-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.server.impl.ScaleDownHandler.scaleDown(ScaleDownHandler.java:94) > [artemis-server-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.server.impl.BackupRecoveryJournalLoader.postLoad(BackupRecoveryJournalLoader.java:94) > [artemis-server-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1573) > [artemis-server-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1641) > [artemis-server-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1535) > [artemis-server-1.1.0.jar:1.1.0] > at > org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:245) > [artemis-server-1.1.0.jar:1.1.0] -- This message was sent by Atlassian JIRA (v6.3.4#6332)