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-1024) Management operation causes ClassNotFoundException
Date Wed, 08 Mar 2017 14:53:38 GMT

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

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

GitHub user gaohoward opened a pull request:

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

    ARTEMIS-1024 Management operation causes ClassNotFoundException

    Artemis expose createQueue() method to management console like Jon.
    If the queue to be created already exists it throws an ActiveMQException
    back to the console, which will get a ClassNotFoundException when
    deserializing the exception.
    
    To fix that it should throw a common java exception like IllegalStateException.

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

    $ git pull https://github.com/gaohoward/activemq-artemis master-mgmt-ex

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

    https://github.com/apache/activemq-artemis/pull/1072.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 #1072
    
----
commit 08ad1af0e0c70fbdbcd912478e21ae8b56f3c11f
Author: Howard Gao <howard.gao@gmail.com>
Date:   2017-03-08T14:50:33Z

    ARTEMIS-1024 Management operation causes ClassNotFoundException
    
    Artemis expose createQueue() method to management console like Jon.
    If the queue to be created already exists it throws an ActiveMQException
    back to the console, which will get a ClassNotFoundException when
    deserializing the exception.
    
    To fix that it should throw a common java exception like IllegalStateException.

----


> Management operation causes ClassNotFoundException
> --------------------------------------------------
>
>                 Key: ARTEMIS-1024
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1024
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.5.3
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Artemis expose createQueue() method to management console like Jon. If the queue to be
created already exists it throws an ActiveMQException back to the console, which will get
a ClassNotFoundException when deserializing the exception. 
> To fix that it should throw a common java exception like IllegalStateException.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message