Hi, I am getting the following exception, quite unfrequently, may be once in 25 times, while starting AG1.1
jvm 1 | 08:24:25,762 ERROR [Registry] Error registering Geronimo:type=Request Processor,worker=http-localhost%2F127.0.0.1-8453,name=HttpRequest0 jvm 1 | java.util.ConcurrentModificationException: concurrent access to HashM ap attempted by Thread[http-localhost%2F127.0.0.1-8453-Processor25,5,main] jvm 1 | at java.util.HashMap.onEntry(HashMap.java:205) jvm 1 | at java.util.HashMap.transfer(HashMap.java:510) jvm 1 | at java.util.HashMap.resize(HashMap.java:500) jvm 1 | at java.util.HashMap.addEntry(HashMap.java:800) jvm 1 | at java.util.HashMap.put(HashMap.java:441) jvm 1 | at org.apache.commons.modeler.Registry.addManagedBean(Registry.j ava:457) jvm 1 | at org.apache.commons.modeler.Registry.loadDescriptors(Registry. java:938) jvm 1 | at org.apache.commons.modeler.Registry.findManagedBean(Registry. java:719) jvm 1 | at org.apache.commons.modeler.Registry.findManagedBean(Registry. java:1047) jvm 1 | at org.apache.commons.modeler.Registry.registerComponent(Registr y.java:859) jvm 1 | at org.apache.coyote.http11.Http11Protocol$JmxHttp11ConnectionHa ndler.init(Http11Protocol.java:175) jvm 1 | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.getInit Data(LeaderFollowerWorkerThread.java:48) jvm 1 | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:686) jvm 1 | at java.lang.Thread.run(Thread.java:797) jvm 1 | 08:24:25,762 ERROR [Registry] Error loading jar:file:/D:/ccviews/d_sj c_tk4s_f5887_pathfinder_wasce_only/v3tools/thirdparty/was_ce/test/was-ce-1.1.0/r epository/tomcat/tomcat-ajp/5.5.15/tomcat-ajp-5.5.15.jar!/org/apache/jk/mbeans-d escriptors.xml jvm 1 | 08:24:25,762 WARN [Http11BaseProtocol] Error registering request I saw that the Registry class is not thread-safe. In the method, Http11Protocol:JmxHttp11ConnectionHandler:init() there is a call to Registry.getRegistry(null, null).registerComponent( rp, rpName, null) Should this be synchronized to resolve the problem? Can we synchronize it? Any suggestions? Regards phani
