You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (Created) (JIRA)" <ji...@apache.org> on 2011/10/28 17:15:32 UTC

[jira] [Created] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

SimpleDateFormat used in thread unsafe manner in JMX interface
--------------------------------------------------------------

                 Key: QPID-3559
                 URL: https://issues.apache.org/jira/browse/QPID-3559
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.12, 0.11, 0.10, 0.13
            Reporter: Keith Wall
            Priority: Minor


AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.

This problem only affects the MBean, JMS messaging clients wont be affected.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Reopened] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reopened QPID-3559:
------------------------------

    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Robbie Gemmell  (was: Keith Wall)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3559:
-----------------------------

    Status: Ready To Review  (was: In Progress)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Robbie Gemmell (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-3559:
---------------------------------

    Assignee: Keith Wall  (was: Robbie Gemmell)
      Status: Open  (was: Ready To Review)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Robbie Gemmell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158452#comment-13158452 ] 

Robbie Gemmell commented on QPID-3559:
--------------------------------------

I think it might be preferable to use an instance variable for the SimpleDateFormat object and just synchronize its access, or something else to similar effect, rather than use a new instance per method call. I know its not a big object but it could generate a significant amount of garbage due to being used per-message, and the JMX interface already generates quite a lot :)
                
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Keith Wall  (was: Robbie Gemmell)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194202#comment-13194202 ] 

Keith Wall commented on QPID-3559:
----------------------------------

Addressed review comments (finally - sorry, slipped my mind).
                
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Robbie Gemmell  (was: Keith Wall)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Keith Wall
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Robbie Gemmell  (was: Keith Wall)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall resolved QPID-3559.
------------------------------

    Resolution: Fixed

Applied patch to resolve issue.   Added support unit and system tests.
                
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Keith Wall  (was: Robbie Gemmell)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Robbie Gemmell (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-3559.
----------------------------------

    Resolution: Fixed

Looks good to me.
                
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3559:
-----------------------------

    Status: Ready To Review  (was: In Progress)
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3559:
-----------------------------

    Fix Version/s: 0.15
    
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.15
>
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3559) SimpleDateFormat used in thread unsafe manner in JMX interface

Posted by "Keith Wall (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3559:
--------------------------------

    Assignee: Robbie Gemmell  (was: Keith Wall)

Hi Robbie, could you review this change please?
                
> SimpleDateFormat used in thread unsafe manner in JMX interface
> --------------------------------------------------------------
>
>                 Key: QPID-3559
>                 URL: https://issues.apache.org/jira/browse/QPID-3559
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.10, 0.11, 0.12, 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>
> AMQQueueMBean uses a static SimpleDateFormat instance which is thread-unsafe.  The user may see corruption of JMS Expiration dates or JMS Timestamps reported via the JMX interface.
> This problem only affects the MBean, JMS messaging clients wont be affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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