From: Tom W. <tw...@su...> - 2014-01-07 18:57:36
|
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 |