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

FHIR2 module breaks OpenMRS when datafilter module is loaded

    XMLWordPrintable

Details

    Description

      OpenMRS distro setup

      • OpenMRS version: 2.3.0
      • Datafilter version: 1.0.0

      Description
      FHIR2 module cannot be loaded into OpenMRS when datafilter module is present. The OpenMRS system breaks when two modules are loaded together. The error suggests linkage error with following trace. The detailed log is attached with this issue card.

      Exception in thread "Thread-10" java.lang.LinkageError:
        loader constraint violation:
        loader (instance of 
           org/openmrs/module/ModuleClassLoader)
        previously initiated loading for a different type with name 
        "javax/xml/namespace/QName"
      

      Steps to reproduce

      1. The FHIR module version 1.20.0 is added to the OpenMRS distro. OpenMRS starts without any error. The FHIR module doesn't cause any issue with datafilter.
      2. The FHIR2 omod version 1.0.0-SNAPSHOT is added to the OpenMRS distro. Start the openmrs reference application with FHIR2 module and datafilter module. The application would start to fail with trace attached to this issue card.
      3. Now remove the datafilter module from the distro and try restarting OpenMRS. The FHIR2 module responds without any error.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                leebreisacher Lee Breisacher
                kinle Kinle A G
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: