Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
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
- 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.
- 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.
- Now remove the datafilter module from the distro and try restarting OpenMRS. The FHIR2 module responds without any error.
Gliffy Diagrams
Attachments
Issue Links
- depends on
-
TRUNK-5344 Module Class Loader Doesn't Allow Unrelated Modules to Have the Same Library
-
- Closed
-
- mentioned in
-
Page Loading...