UIMA AS Service Doesnt Start a Timer On Connection To a Temp Reply Queue
------------------------------------------------------------------------
Key: UIMA-1286
URL: https://issues.apache.org/jira/browse/UIMA-1286
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Reporter: Jerry Cwiklik
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.