The error your client is producing simply says that it did not get a
response that matches the control ID of the message sent away.
I can only guess about the reasons... Was the physical connection still
present? Did the server side (i.e. ORU_R01_ReceivingApplication) respond
within the timeout time frame (like 30s)? And if not, why? Did it receive
the request at all? Maybe setting the log level to DEBUG can help, too....
regards
Christian
2014/1/7 Tom Wilson <twil...@sujansky.com>
> Help!
>
>
>
> I implemented a HAPI server according to the example:
>
>
>
> server =
> DirectHapiContext.getHapiContext().newServer(LISTENER_PORT,
>
> USE_TLS);
>
> ORU_R01_ReceivingApplication handler =
> *new*ORU_R01_ReceivingApplication();
>
> handler.setHl7Queue(hl7Queue );
>
> server.registerApplication("ORU", "R01", handler);
>
>
> server.registerConnectionListener(*new*ORU_R01_ConnectionListener());
>
> server.setExceptionHandler(*new*ORU_R01_ExceptionHandler());
>
>
>
> *try* {
>
> server.startAndWait();
>
> } *catch* (InterruptedException e) {
>
> LOG.error("Startup interrupted!", e);
>
> }
>
>
>
>
>
> It works great, but after leaving it running overnight, when I come back
> in the morning it will not accept connections. The client produces this
> error:
>
>
>
> *ca.uhn.hl7v2.HL7Exception*: Timeout waiting for response to message with
> control ID 20131216123844000002
>
>
>
> I don’t see anything in the logs that would indicate where the problem is.
> How do I troubleshoot this?
>
>
>
> -tom
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel