qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Gemmell (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-1655) AMQUserManagementMBean is unable to save the jmx user access rights file, but does not signal this to calling methods
Date Fri, 27 Feb 2009 20:33:12 GMT

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

Robert Gemmell updated QPID-1655:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> 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: Robert Gemmell
>            Assignee: Robert Gemmell
>             Fix For: M5
>
>         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


Mime
View raw message