openhim mediator

hello everyone; i have followed the instructions found in the tutorial of OpenHIM described in this link http://openhim.readthedocs.io/en/latest/tutorial/3-creating-a-passthrough-mediator.html to create a java mediator. Everything went right and the mediator is already displayed on the task tab but in the terminal i obtain this error

java -jar target/tutorial-mediator-0.1.0-jar-with-dependencies.jar [INFO] [09/08/2017 13:43:33.546] [main] [main] Initializing mediator actors… [INFO] [09/08/2017 13:43:33.547] [main] [main] No configuration specified. Using default properties… [INFO] [09/08/2017 13:43:33.635] [main] [main] Starting mediator server… Sep 08, 2017 1:43:33 PM org.glassfish.grizzly.http.server.NetworkListener start INFO: Started listener bound to [localhost:4000] Sep 08, 2017 1:43:33 PM org.glassfish.grizzly.http.server.HttpServer start INFO: [HttpServer] Started. [INFO] [09/08/2017 13:43:33.683] [mediator-akka.actor.default-dispatcher-4] [akka://mediator/user/Tutorial-Mediator] Registering mediator with core… [INFO] [09/08/2017 13:43:33.684] [main] [main] Tutorial-Mediator listening on localhost:4000 [INFO] [09/08/2017 13:43:33.687] [mediator-akka.actor.default-dispatcher-3] [akka://mediator/user/Tutorial-Mediator/core-api-connector] Registering mediator with core… [INFO] [09/08/2017 13:43:34.159] [mediator-akka.actor.default-dispatcher-4] [akka://mediator/user/Tutorial-Mediator/core-api-connector] Sent mediator registration message to core [INFO] [09/08/2017 13:43:34.159] [mediator-akka.actor.default-dispatcher-4] [akka://mediator/user/Tutorial-Mediator/core-api-connector] Response: 201 (Created) [ERROR] [09/08/2017 13:43:38.733] [mediator-akka.actor.default-dispatcher-3] [akka://mediator/user/Tutorial-Mediator/core-api-connector] Invalid JSON config received from the OpenHIM core [ERROR] [09/08/2017 13:43:38.733] [mediator-akka.actor.default-dispatcher-2] [akka://mediator/user/Tutorial-Mediator] Heartbeat request to core failed. Response: OK

Can you help me with this ? thank you

Hi,

It’s probably best if you post this question to the OpenHIE Interoperability Layer Google Group because it’s solely related to OpenHIM.

Craig