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

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

Github user jbertram commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2080#discussion_r187453307
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
 ---
    @@ -946,7 +946,7 @@ public boolean isReplicaSync() {
           } else if (activation instanceof SharedNothingBackupActivation) {
              return ((SharedNothingBackupActivation) 
activation).isRemoteBackupUpToDate();
           } else {
    -         throw ActiveMQMessageBundle.BUNDLE.methodNotApplicable();
    --- End diff --
    
    @jdanekrh, yes. That is the only place where that message was used but I 
elected not to delete that method so that developers would know that the 
message's id (i.e. `119118`) shouldn't be used again since message ids should 
be unique.


> IllegalStateException in web console
> ------------------------------------
>
>                 Key: ARTEMIS-1851
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1851
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Lionel Cons
>            Assignee: Justin Bertram
>            Priority: Major
>
> Using the default configuration, when browsing the toplevel broker object 
> from the web console, theĀ {{ReplicaSync}} attribute contains:
> {code}
> ERROR: java.lang.IllegalStateException : AMQ119118: Management method not 
> applicable for current server configuration
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to