Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-56

synchronized blocks in ModuleClassLoader causing dead locks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.7.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      When running the chica module and all its dependencies (dss, atd, sockethl7listener, rgccd, chirdlutil), I intermittently get a deadlock in the ModuleClassLoader synchronization blocks when I restart tomcat and autostart my tasks.

      I think the gist of the problem is that I am calling class.getMethod in the atd module that is referencing a class in the chica module (which depends on atd) in a task initialization method. I think the module class loading must not always be finished when the tasks are trying to start. Maybe that is why the error is intermittent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bwolfe Ben Wolfe
                Reporter:
                tmdugan Tammy Dugan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: