activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-250) Scale down fails with ActiveMQSecurityException
Date Mon, 23 Nov 2015 15:19:11 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022249#comment-15022249
] 

ASF GitHub Bot commented on ARTEMIS-250:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/248

    ARTEMIS-250 fix scale-down with security

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-250

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/248.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #248
    
----
commit c0a6d6ee44be2d47bdc07c2fcb90c66bcfe019e0
Author: jbertram <jbertram@apache.org>
Date:   2015-11-20T20:44:45Z

    ARTEMIS-250 fix scale-down with security

----


> 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)

Mime
View raw message