You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Senaka Fernando (JIRA)" <qp...@incubator.apache.org> on 2008/05/03 22:20:55 UTC

[jira] Created: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
----------------------------------------------------------------------------------------

                 Key: QPID-1011
                 URL: https://issues.apache.org/jira/browse/QPID-1011
             Project: Qpid
          Issue Type: Bug
          Components: Java Management Console
         Environment: Ubuntu 7.10 (Gusty Gibbon)
            Reporter: Senaka Fernando
            Priority: Critical


Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.

Regards,
Senaka

N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1011:
-----------------------------------

    Fix Version/s:     (was: M4)

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1011:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1011:
------------------------------------

    Assignee: Martin Ritchie

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner updated QPID-1011:
--------------------------------

    Priority: Major  (was: Critical)

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>             Fix For: M4
>
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1011:
-----------------------------------

    Fix Version/s:     (was: M4)
                   Eclipse MC M5

Sscoping items for early 2009 release of Java Eclipse Mgt Console 

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>             Fix For: Eclipse MC M5
>
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652765#action_12652765 ] 

Martin Ritchie commented on QPID-1011:
--------------------------------------

Senaka, sorry for the delay in looking at this.

Can you confim that this prevents the problems you were seeing.

Regards

Martin

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie resolved QPID-1011.
----------------------------------

       Resolution: Fixed
    Fix Version/s: M4

Accepted changes from Senaka committed to trunk by Martin and reviewed by Robbie.

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>             Fix For: M4
>
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Senaka Fernando (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senaka Fernando updated QPID-1011:
----------------------------------

    Attachment: invalid_perspective_fix.patch.txt

Attached patch fixes this issue. Also, it seems that it is rather risky to simply disable/enable actions (buttons) based on perspective as the behaviour is buggy on eclipse 3.2, when using actions defined within plugin.xml. Methodology used in the patch attached is more informative too.

Regards,
Senaka

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Priority: Critical
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594212#action_12594212 ] 

Martin Ritchie commented on QPID-1011:
--------------------------------------

The Management console was never designed to be run as a plugin inside eclipse. 

It is designed to be a standalone application that happens to use eclipse.

Thanks for the feed back though. Will try and take a look at this change shortly.

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Priority: Critical
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1011) Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives

Posted by "Robert Gemmell (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654481#action_12654481 ] 

Robert Gemmell commented on QPID-1011:
--------------------------------------

This appears to do what it says on the tin. Where issues would exist from using the qpid management functionality in other perspectives in an eclipse IDE, a warning is now given to request the user switches perspective.

It alters the exception handler to report that you should switch to the qpid management perspective. Adding the core management console plugin to the plugins directory of my eclipse IDE install I then get the qpid MC toolbar and menu within my IDE and am able to use the management functionality within the IDE. Using some of the functionality in perspectives other than the qpid management one does indeed generate messages as a result of the patch, meaning it was of course was generating exceptions to be handled and those are now being handled accordingly :)

Whilst this does address the issue, I would agree more with Senaka's alternative suggestion that really the buttons and toolbars just shouldnt be shown in the other perspectives to begin with if possible, so I will add that to my list of things to look at when bringing the plugin and MC up to v3.4. If that was handled, then i think the plugin could be offered for standalone use in the Eclipse IDE rather than just for use in the MC RCP app.

> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse Perspectives. For example in the Java perspective, I can't create a connection and get a error "Server Connection Failed". I believe that the error message must either be informative enough for the user to change the perspective, or, the toolbar and the menu item must rather be disabled in unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.