Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1286

UIMA AS Service Doesnt Start a Timer On Connection To a Temp Reply Queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      The Uima AS service doesnt time out idle connections to a broker. This may lead to an exception:

      ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files
      java.net.SocketException: Too many open files

      This problem may occur when a client application repeatedly restarts Uima Client API many times. After each restart the client sends a CAS and receives a response, then it is stopped. The service accumulates connections to the client's temp reply queue. When the client terminates the broker kills the temp queue but the service still keeps the connection open causing a leak.

      Start a timer after each reply.

      Attachments

        1. uimaj-as-activemq-UIMA-1286-patch.txt
          14 kB
          Jaroslaw Cwiklik

        Activity

          People

            Unassigned Unassigned
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: