OpenHIE

Hi,

It looks like you have much of the config correct. Would you be able to send the log for failing validation tests? I can’t quite make out the screenshots.

Cheers,

Ryan

···

Ryan Crichton

Lead Developer, Jembi Health Systems | SOUTH AFRICA

Mobile: +27845829934 | Skype: ryan.graham.crichton
E-mail: ryan@jembi.org

Hello,

Thank you for your swift reply.

You’ll find attached the openSHR log.

As for the openHIM log there’s no error

and here’s the error i get when i try testing the XDS.b repository:

openhie@openhie-OptiPlex-3020:~/Downloads/openshr-validation-tests-master/xds.b$ npm run test – -p localhost:3602 http://localhost:8080/openmrs/ms/xdsrepository

openshr-validation-tests@1.0.0 test /home/openhie/Downloads/openshr-validation-tests-master/xds.b
./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository

Running with configuration: {
“target”: “http://localhost:8080/openmrs/ms/xdsrepository”,
“docUniqueId”: “2.25.328761174343669501116321597296894369644”,
“subUniqueId”: “2.25.218527969420740344138598986274338619617”,
“sourcePatId”: “2.25.112483210069280442994921856113351171824”,
“messageId”: “0900d186-2369-4e5b-b7d7-8169136111e8”,
“firstName”: “Babs”,
“lastName”: “Patient”,
“repoUniqueId”: “1.19.6.24.109.42.1.5.1”
}

Provide and Register Document Set.b: Failed

Response received: ------=_Part_2_2120692982.1501754647516
Content-Type: application/xop+xml; charset=utf-8; type=“application/soap+xml”

<env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope”><env:Header xmlns:wsa=“http://www.w3.org/2005/08/addressing”><wsa:To env:mustUnderstand=“true”>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>wsa:Actionurn:ihe:iti:2007:ProvideAndRegisterDocumentSet-bResponse</wsa:Action>wsa:MessageIDurn:uuid:5f707ae1-06c8-4863-999f-206685a66429</wsa:MessageID>wsa:RelatesTourn:uuid:0900d186-2369-4e5b-b7d7-8169136111e8</wsa:RelatesTo></env:Header>env:Body<ns3:RegistryResponse xmlns:ns3=“urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0” xmlns:ns6=“urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0” xmlns:ns5=“urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0” xmlns:ns2=“urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0” xmlns:ns4=“urn:ihe:iti:xds-b:2007” status=“urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure”>ns3:RegistryErrorList<ns3:RegistryError codeContext=“CodeValidation.java: Configuration Error: Cannot find mime type table” errorCode=“XDSRegistryError” location=“Exception thrown: gov.nist.registry.common2.exception.XdsInternalException CodeValidation.java: Configuration Error: Cannot find mime type table gov.nist.registry.common2.exception.XdsInternalException: CodeValidation.java: Configuration Error: Cannot find mime type table at gov.nist.registry.common2.registry.validation.CodeValidation.build_mime_map(CodeValidation.java:80) at gov.nist.registry.common2.registry.validation.CodeValidation.loadCodes(CodeValidation.java:59) at gov.nist.registry.common2.registry.validation.CodeValidation.<init>(CodeValidation.java:45) at gov.nist.registry.common2.registry.validation.Validator.<init>(Validator.java:48) at gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:258) at gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:151) at gov.nist.registry.ws.serviceclasses.AbstractRegistry.SubmitObjectsRequest(AbstractRegistry.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at gov.nist.registry.common2.service.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:151) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:267) at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281) at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187) at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) " severity=“urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”></ns3:RegistryError><ns3:RegistryError codeContext=“XDS Internal Error: CodeValidation.java: Configuration Error: Cannot find mime type table” errorCode=“XDSRegistryError” location=” gov.nist.registry.common2.registry.validation.Validator.<init>(Validator.java:52) gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:258) gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:151) gov.nist.registry.ws.serviceclasses.AbstractRegistry.SubmitObjectsRequest(AbstractRegistry.java:71) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) gov.nist.registry.common2.service.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:151) org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173) org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:267) org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281) " severity=“urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”></ns3:RegistryError></ns3:RegistryErrorList></ns3:RegistryResponse></env:Body></env:Envelope>
------=_Part_2_2120692982.1501754647516–

npm ERR! Linux 4.4.0-31-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “test” “–” “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! openshr-validation-tests@1.0.0 test: ./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee "-p" "localhost:3602" "[http://localhost:8080/openmrs/ms/xdsrepository](http://localhost:8080/openmrs/ms/xdsrepository)"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openshr-validation-tests@1.0.0 test script ‘./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository”’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the openshr-validation-tests package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs openshr-validation-tests
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls openshr-validation-tests
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/openhie/Downloads/openshr-validation-tests-master/xds.b/npm-debug.log
openhie@openhie-OptiPlex-3020:~/Downloads/openshr-validation-tests-master/xds.b$ npm run test – -p localhost:3602 http://localhost:8080/openmrs/ms/xdsrepository

Best Regards,

Omar

openmrs.log (173 KB)

Hi,

i forgot to attach this log is the log of the xds.b test module.

Cheers,

Omar

npm-debug.log (3.59 KB)

···

2017-08-04 9:00 GMT+01:00 omar nasraoui nasraouiomar941@gmail.com:

Hello,

Thank you for your swift reply.

You’ll find attached the openSHR log.

As for the openHIM log there’s no error

and here’s the error i get when i try testing the XDS.b repository:

openhie@openhie-OptiPlex-3020:~/Downloads/openshr-validation-tests-master/xds.b$ npm run test – -p localhost:3602 http://localhost:8080/openmrs/ms/xdsrepository

openshr-validation-tests@1.0.0 test /home/openhie/Downloads/openshr-validation-tests-master/xds.b
./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository

Running with configuration: {
“target”: “http://localhost:8080/openmrs/ms/xdsrepository”,
“docUniqueId”: “2.25.328761174343669501116321597296894369644”,
“subUniqueId”: “2.25.218527969420740344138598986274338619617”,
“sourcePatId”: “2.25.112483210069280442994921856113351171824”,
“messageId”: “0900d186-2369-4e5b-b7d7-8169136111e8”,
“firstName”: “Babs”,
“lastName”: “Patient”,
“repoUniqueId”: “1.19.6.24.109.42.1.5.1”
}

Provide and Register Document Set.b: Failed

Response received: ------=_Part_2_2120692982.1501754647516
Content-Type: application/xop+xml; charset=utf-8; type=“application/soap+xml”

<env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope”><env:Header xmlns:wsa=“http://www.w3.org/2005/08/addressing”><wsa:To env:mustUnderstand=“true”>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>wsa:Actionurn:ihe:iti:2007:ProvideAndRegisterDocumentSet-bResponse</wsa:Action>wsa:MessageIDurn:uuid:5f707ae1-06c8-4863-999f-206685a66429</wsa:MessageID>wsa:RelatesTourn:uuid:0900d186-2369-4e5b-b7d7-8169136111e8</wsa:RelatesTo></env:Header>env:Body<ns3:RegistryResponse xmlns:ns3=“urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0” xmlns:ns6=“urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0” xmlns:ns5=“urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0” xmlns:ns2=“urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0” xmlns:ns4=“urn:ihe:iti:xds-b:2007” status=“urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure”>ns3:RegistryErrorList<ns3:RegistryError codeContext=“CodeValidation.java: Configuration Error: Cannot find mime type table” errorCode=“XDSRegistryError” location=“Exception thrown: gov.nist.registry.common2.exception.XdsInternalException CodeValidation.java: Configuration Error: Cannot find mime type table gov.nist.registry.common2.exception.XdsInternalException: CodeValidation.java: Configuration Error: Cannot find mime type table at gov.nist.registry.common2.registry.validation.CodeValidation.build_mime_map(CodeValidation.java:80) at gov.nist.registry.common2.registry.validation.CodeValidation.loadCodes(CodeValidation.java:59) at gov.nist.registry.common2.registry.validation.CodeValidation.<init>(CodeValidation.java:45) at gov.nist.registry.common2.registry.validation.Validator.<init>(Validator.java:48) at gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:258) at gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:151) at gov.nist.registry.ws.serviceclasses.AbstractRegistry.SubmitObjectsRequest(AbstractRegistry.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at gov.nist.registry.common2.service.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:151) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:267) at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281) at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187) at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) " severity=“urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”></ns3:RegistryError><ns3:RegistryError codeContext=“XDS Internal Error: CodeValidation.java: Configuration Error: Cannot find mime type table” errorCode=“XDSRegistryError” location=” gov.nist.registry.common2.registry.validation.Validator.<init>(Validator.java:52) gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:258) gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:151) gov.nist.registry.ws.serviceclasses.AbstractRegistry.SubmitObjectsRequest(AbstractRegistry.java:71) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) gov.nist.registry.common2.service.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:151) org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173) org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:267) org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281) " severity=“urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”></ns3:RegistryError></ns3:RegistryErrorList></ns3:RegistryResponse></env:Body></env:Envelope>
------=_Part_2_2120692982.1501754647516–

npm ERR! Linux 4.4.0-31-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “test” “–” “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! openshr-validation-tests@1.0.0 test: ./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee "-p" "localhost:3602" "[http://localhost:8080/openmrs/ms/xdsrepository](http://localhost:8080/openmrs/ms/xdsrepository)"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openshr-validation-tests@1.0.0 test script ‘./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository”’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the openshr-validation-tests package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs openshr-validation-tests
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls openshr-validation-tests
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/openhie/Downloads/openshr-validation-tests-master/xds.b/npm-debug.log
openhie@openhie-OptiPlex-3020:~/Downloads/openshr-validation-tests-master/xds.b$ npm run test – -p localhost:3602 http://localhost:8080/openmrs/ms/xdsrepository

Best Regards,

Omar

Hi,

It seems that the XDS registry is complaining about a configuration error. Perhaps it hasn’t installed correctly. This seems to be the important error in that log:

XDS Internal Error: CodeValidation.java: Configuration Error: Cannot find mime type table

How did you go about installing it? I haven’t seen this error before.

Cheers,

Ryan

···

2017-08-04 9:00 GMT+01:00 omar nasraoui nasraouiomar941@gmail.com:

Hello,

Thank you for your swift reply.

You’ll find attached the openSHR log.

As for the openHIM log there’s no error

and here’s the error i get when i try testing the XDS.b repository:

openhie@openhie-OptiPlex-3020:~/Downloads/openshr-validation-tests-master/xds.b$ npm run test – -p localhost:3602 http://localhost:8080/openmrs/ms/xdsrepository

openshr-validation-tests@1.0.0 test /home/openhie/Downloads/openshr-validation-tests-master/xds.b
./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository

Running with configuration: {
“target”: “http://localhost:8080/openmrs/ms/xdsrepository”,
“docUniqueId”: “2.25.328761174343669501116321597296894369644”,
“subUniqueId”: “2.25.218527969420740344138598986274338619617”,
“sourcePatId”: “2.25.112483210069280442994921856113351171824”,
“messageId”: “0900d186-2369-4e5b-b7d7-8169136111e8”,
“firstName”: “Babs”,
“lastName”: “Patient”,
“repoUniqueId”: “1.19.6.24.109.42.1.5.1”
}

Provide and Register Document Set.b: Failed

Response received: ------=_Part_2_2120692982.1501754647516
Content-Type: application/xop+xml; charset=utf-8; type=“application/soap+xml”

<env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope”><env:Header xmlns:wsa=“http://www.w3.org/2005/08/addressing”><wsa:To env:mustUnderstand=“true”>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>wsa:Actionurn:ihe:iti:2007:ProvideAndRegisterDocumentSet-bResponse</wsa:Action>wsa:MessageIDurn:uuid:5f707ae1-06c8-4863-999f-206685a66429</wsa:MessageID>wsa:RelatesTourn:uuid:0900d186-2369-4e5b-b7d7-8169136111e8</wsa:RelatesTo></env:Header>env:Body<ns3:RegistryResponse xmlns:ns3=“urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0” xmlns:ns6=“urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0” xmlns:ns5=“urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0” xmlns:ns2=“urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0” xmlns:ns4=“urn:ihe:iti:xds-b:2007” status=“urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure”>ns3:RegistryErrorList<ns3:RegistryError codeContext=“CodeValidation.java: Configuration Error: Cannot find mime type table” errorCode=“XDSRegistryError” location=“Exception thrown: gov.nist.registry.common2.exception.XdsInternalException CodeValidation.java: Configuration Error: Cannot find mime type table gov.nist.registry.common2.exception.XdsInternalException: CodeValidation.java: Configuration Error: Cannot find mime type table at gov.nist.registry.common2.registry.validation.CodeValidation.build_mime_map(CodeValidation.java:80) at gov.nist.registry.common2.registry.validation.CodeValidation.loadCodes(CodeValidation.java:59) at gov.nist.registry.common2.registry.validation.CodeValidation.<init>(CodeValidation.java:45) at gov.nist.registry.common2.registry.validation.Validator.<init>(Validator.java:48) at gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:258) at gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:151) at gov.nist.registry.ws.serviceclasses.AbstractRegistry.SubmitObjectsRequest(AbstractRegistry.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at gov.nist.registry.common2.service.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:151) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:267) at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281) at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187) at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) " severity=“urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”></ns3:RegistryError><ns3:RegistryError codeContext=“XDS Internal Error: CodeValidation.java: Configuration Error: Cannot find mime type table” errorCode=“XDSRegistryError” location=” gov.nist.registry.common2.registry.validation.Validator.<init>(Validator.java:52) gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:258) gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:151) gov.nist.registry.ws.serviceclasses.AbstractRegistry.SubmitObjectsRequest(AbstractRegistry.java:71) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) gov.nist.registry.common2.service.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:151) org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173) org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167) org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:267) org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281) " severity=“urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error”></ns3:RegistryError></ns3:RegistryErrorList></ns3:RegistryResponse></env:Body></env:Envelope>
------=_Part_2_2120692982.1501754647516–

npm ERR! Linux 4.4.0-31-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “test” “–” “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! openshr-validation-tests@1.0.0 test: ./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee "-p" "localhost:3602" "[http://localhost:8080/openmrs/ms/xdsrepository](http://localhost:8080/openmrs/ms/xdsrepository)"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openshr-validation-tests@1.0.0 test script ‘./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository”’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the openshr-validation-tests package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./node_modules/coffee-script/bin/coffee test-send-retrieve.coffee “-p” “localhost:3602” “http://localhost:8080/openmrs/ms/xdsrepository
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs openshr-validation-tests
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls openshr-validation-tests
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/openhie/Downloads/openshr-validation-tests-master/xds.b/npm-debug.log
openhie@openhie-OptiPlex-3020:~/Downloads/openshr-validation-tests-master/xds.b$ npm run test – -p localhost:3602 http://localhost:8080/openmrs/ms/xdsrepository

Best Regards,

Omar

Ryan Crichton

Lead Developer, Jembi Health Systems | SOUTH AFRICA

Mobile: +27845829934 | Skype: ryan.graham.crichton
E-mail: ryan@jembi.org

Hello,

Thank you for your reply.

I followed the instructions on this page : https://github.com/jembi/openshr#setting-up-the-openshr-on-ubuntu-from-a-ppa-1404-trusty

What should i do now ?

best regards,

Omar