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

Reply via email to