Menu

#180 Multithreaded HL7-over-HTTP client stops working

2.2
closed-fixed
nobody
None
5
2013-05-16
2013-04-15
James Agnew
No

After a while of heavy use, a socket exception occurred, and it looks like the client isn't recovering properly:

Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer(OutputRecord.java:295)
at com.sun.net.ssl.internal.ssl.OutputRecord.write(OutputRecord.java:284)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:734)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:722)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.doSendAndReceiveInternal(AbstractRawClient.java:148)
at ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.sendAndReceive(AbstractRawClient.java:265)
at ca.uhn.sail.integration.AbstractIntegrationOutboundHl7Http.doSendMessage(AbstractIntegrationOutboundHl7Http.java:88)
at ca.uhn.sail.integration.AbstractIntegrationOutboundHl7.sendMessage(AbstractIntegrationOutboundHl7.java:97)
at ca.uhn.sail.integration.AbstractIntegrationOutboundHl7.sendMessage(AbstractIntegrationOutboundHl7.java:12)
at ca.uhn.sail.integration.AbstractIntegrationOutbound.onMessage(AbstractIntegrationOutbound.java:110)
... 40 more
|#]

Discussion

  • James Agnew

    James Agnew - 2013-04-15

    This keeps happening over and over again, so presumably the client just keep trying to reuse the same broken socket.

     
  • James Agnew

    James Agnew - 2013-05-16

    Fix was checked in, closing

     
  • James Agnew

    James Agnew - 2013-05-16
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.