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
--
You received this message because you are subscribed to the Google Groups "Interoperability Layer (OpenHIE)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhie-interoperabil...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Good day Sabri,
Are you running the latest version of the OpenHIM-Core?
Please can you also check the OpenHIM logs as it might offer more information regarding this issue?
Thank you
Kindest regards,
Richard Langford
Systems Analyst
Jembi Health Systems NPC | SOUTH AFRICA
Mobile: +27 83 279 1564 | Office: +27 21 701 0939 | Skype: rmrlangford
E-mail: richard....@jembi.org
Email Disclaimer:
This e-mail contains proprietary and confidential information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then deleting same. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail. Jembi Health Systems NPO, its subsidiaries and associated companies is not liable for the security of information sent by e-mail and accepts no liability of whatsoever nature for any loss, damage or expense resulting, directly or indirectly, from the access of this e-mail or any attachments hereto.
--
Hi everyone
My OpenHIM-Core version is 3.4.0 and in the server log there is no error
--
You received this message because you are subscribed to the Google Groups "Interoperability Layer (OpenHIE)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhie-interoperabil...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Sabri,Richard has been keeping me up to date with your troubleshooting. I'm wondering if that message you are getting just meant that the there is not mediator config for the mediator so it's getting back blank JSON. It may be fine to ignore this message. If you click on the mediators tab on the OpenHIM does it show that the mediator is stays running even after this error?The Java mediator isn't often used, more commonly the Javascript mediators are used so I don't recall all the nuances of creating a Java mediator.It seems that you are able to send requests to the mediator just fine, so perhaps this is working as expected?Cheers,
Ryan
On Mon, Sep 18, 2017 at 9:44 AM sabri barbaria <sabri...@gmail.com> wrote:
Hi everyone
My OpenHIM-Core version is 3.4.0 and in the server log there is no error
--
You received this message because you are subscribed to the Google Groups "Interoperability Layer (OpenHIE)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhie-interoperability-layer+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Could you find the solution to the error:
[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
I am currently facing the same issue.
Best Regards
Arinze