You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Kaiming Yang (JIRA)" <ji...@apache.org> on 2016/04/12 21:41:25 UTC

[jira] [Created] (ARTEMIS-479) Create queue on a backup server by management interface returns success

Kaiming Yang created ARTEMIS-479:
------------------------------------

             Summary: Create queue on a backup server by management interface returns success
                 Key: ARTEMIS-479
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-479
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 1.2.0
            Reporter: Kaiming Yang


When using management interface to create queues on a backup server, backup server returns success. After the request a queue will be created and backup service would raise java.lang.IllegalStateException when failover happened.

Steps to reproduce:
1) Create 2 servers with replication ha policy(1 master and 1 slave)
2) Create a queue on backup server using following jolokia request:
    POST http://backup.example.com:8161/jolokia/
    with body: {"mbean":"org.apache.activemq.artemis:brokerName=\"backup.example.com\",module=Core,serviceType=Server,type=Broker","arguments":["jms.queue.testqueue","jms.queue.testqueue"],"type":"exec","operation":"createQueue(java.lang.String,java.lang.String)"}

Expected response:
- Failed with error message "server not started"

Actual response:
- Server returns success with status code 200



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)