Uploaded image for project: 'Commons Modeler'
  1. Commons Modeler
  2. MODELER-2

[modeler] Registry insufficiently synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0
    • None
    • Operating System: other
      Platform: Other

    • 39521

    Description

      In geronimo we are seeing intermittent errors like this on startup:

      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'm testing a patch which I will supply once I'm more confident that it works
      properly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: