You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org> on 2010/08/08 04:59:16 UTC

[jira] Resolved: (QPID-1655) AMQUserManagementMBean is unable to save the jmx user access rights file, but does not signal this to calling methods

     [ https://issues.apache.org/jira/browse/QPID-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-1655.
----------------------------------

    Resolution: Fixed

Bulk resolution of old JMX Management Console issues 

> AMQUserManagementMBean is unable to save the jmx user access rights file, but does not signal this to calling methods
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-1655
>                 URL: https://issues.apache.org/jira/browse/QPID-1655
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M4
>            Reporter: Robbie Gemmell
>            Assignee: Martin Ritchie
>             Fix For: 0.5
>
>         Attachments: QPID-1655_22feb2009.patch
>
>
> AMQUserManagementMBean is unable to save the jmx user access rights file, however it does not report this to the calling methods and so no error is reported. The changes may appear to take effect because the cached values are updated.
> On line 396 within the saveaccessfile method,  _accessFileName is used as the prefix to create a temporary file, however _accessFileName contains an absolute filesystem path and its use causes an FileNotFound IOException, which the method catches and then does nothing with except output a log message, so the calling methods are unaware the save has failed:
> 2009-02-09 10:23:28,608 WARN  [RMI TCP Connection(4)-127.0.1.1] management.AMQUserManagementMBean (AMQUserManagementMBean.java:413) - Problem occured saving '/home/gemmellr/workspace/eclipse/qpid_trunk/qpid/java/build/etc/jmxremote.access' changes may not be preserved. :java.io.IOException: No such file or directory

-- 
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