You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/11/18 16:55:44 UTC

[jira] Created: (QPID-1471) Argument Type Mismatch reported from Management Console

Argument Type Mismatch reported from Management Console
-------------------------------------------------------

                 Key: QPID-1471
                 URL: https://issues.apache.org/jira/browse/QPID-1471
             Project: Qpid
          Issue Type: Bug
          Components: Java Management : JMX Console
    Affects Versions: M4
            Reporter: Martin Ritchie
         Attachments: QPID-1471-ArgumentTypeMismatch.log

Summary:

When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
The same error occurs when calling 'Create User' , 'Set Password'

Stack trace file attached.

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


[jira] Updated: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie updated QPID-1471:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Assigned: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie reassigned QPID-1471:
------------------------------------

    Assignee: Aidan Skinner  (was: Martin Ritchie)

Hi Aidan, I've reverted all the original change here and gone for a much simpler approach that maintains compatibility with the previous MC releases. 

This will give us more time to better engineer a solution that we will be happy to maintain going forward.

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Commented: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie commented on QPID-1471:
--------------------------------------

The cause of the issue is that it had never been tested using PLAIN auth.
The OperationsTab used the connection SASL mechanism to determine the encoding of the password to be sent. This is clearly crazy.

Going forward we should only ever send the clear text of the password this then allows the PasswordPrincipalDatabase to do what it wants with the password. i.e. Plain can just store it but Base64Hashed can do its hashing.

To maintain backwards compatibility with M2, M3 and M4 adding a version to each of the MBeans will allow us to determine when this change was made and so correctly send the required char[] for the UserManagement MBean in use.

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Assigned: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie reassigned QPID-1471:
------------------------------------

    Assignee: Martin Ritchie  (was: Aidan Skinner)

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Commented: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Robert Gemmell commented on QPID-1471:
--------------------------------------

This seems to be linked in some way to the use of the RMIConnector, as the operations work fine with the authenticated JMXMP connector and a Base64MD5 PD, but dont when switching back to the RMI Connector.

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Updated: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Marnie McCormack updated QPID-1471:
-----------------------------------

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

Sscoping items for early 2009 release of Java Eclipse Mgt Console 

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>             Fix For: Eclipse MC M5
>
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

-- 
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] Resolved: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Aidan Skinner resolved QPID-1471.
---------------------------------

    Resolution: Fixed

OK

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Updated: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie updated QPID-1471:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Resolved: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Aidan Skinner resolved QPID-1471.
---------------------------------

    Resolution: Fixed

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Reopened: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie reopened QPID-1471:
----------------------------------


> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Updated: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie updated QPID-1471:
---------------------------------

    Attachment: QPID-1471-ArgumentTypeMismatch.log

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Assigned: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie reassigned QPID-1471:
------------------------------------

    Assignee: Martin Ritchie

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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


[jira] Assigned: (QPID-1471) Argument Type Mismatch reported from Management Console

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

Martin Ritchie reassigned QPID-1471:
------------------------------------

    Assignee: Aidan Skinner  (was: Martin Ritchie)

Hi Aidan can you test that this works for you.

Testing MC against Trunk should work fine with and without security against the Base64MD5PDF when using setPassword and createUser.

Previously without security it would show an  'argument type mismatch' error.

> Argument Type Mismatch reported from Management Console
> -------------------------------------------------------
>
>                 Key: QPID-1471
>                 URL: https://issues.apache.org/jira/browse/QPID-1471
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>         Attachments: QPID-1471-ArgumentTypeMismatch.log
>
>
> Summary:
> When executing 'Set Password' from the JMX Management Console an error 'argument type mismatch' is reported.
> The same error occurs when calling 'Create User' , 'Set Password'
> Stack trace file attached.

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