[ mx4j-Bugs-859550 ] MBeanServer.queryMBeans/Names not thread safe

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #859550, was opened at 2003-12-13 20:26
Message generated for change (Comment added) made by biorn_steedom
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=859550&group_id=47745

Category: JMX implementation
Group: Release 2.0.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Simone Bordet (biorn_steedom)
Assigned to: Simone Bordet (biorn_steedom)
Summary: MBeanServer.queryMBeans/Names not thread safe

Initial Comment:
MX4JMBeanServer.findMBeansByPattern() clones the
MBeanRepository without synchronizing on it.
The Geronimo project reported a
ConcurrentModificationException (Jacek Laskowski,
confirmed by Dain Sundstrom).

----------------------------------------------------------------------

>Comment By: Simone Bordet (biorn_steedom)
Date: 2003-12-13 22:31

Message:
Logged In: YES 
user_id=128193

Fixed by synchronizing cloning of the MBeanRepository.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=859550&group_id=47745


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.