-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.2 Final
-
None
I am using JBoss 4.0.2 and have written some code to perform a query on an MBean server, but I get a concurrent modification exception. The stack trace is:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
at java.util.HashMap$ValueIterator.next(HashMap.java:812)
at org.jboss.mx.server.registry.BasicMBeanRegistry.findEntries(BasicMBeanRegistry.java:634)
at org.jboss.mx.server.MBeanServerImpl.queryNames(MBeanServerImpl.java:492)
Has anyone else encountered this problem? Surely I am not supposed to synchronise all access to the MBean server?
Thanks in advance.
- is related to
-
JBAS-2585 Lock contention on BasicMBeanRegistry::get
- Closed