Fix: dynamically fetch the session daemon port
authorDavid Goulet <dgoulet@efficios.com>
Thu, 27 Feb 2014 16:53:22 +0000 (11:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 27 Feb 2014 17:29:53 +0000 (12:29 -0500)
commitf1fa0535d79f31fdbaeb3dc12b1edc7928daa8b1
tree2bd512f7b278396a88f47a202adc27f0ab9c3fbc
parent9aabed2d5ae3621ff0989cdcec8a726970e04ea6
Fix: dynamically fetch the session daemon port

When connecting to the session daemon, fetch the port at each try. This
moves the read port file functions to the TCP session daemon client
where the connect happens.

If the port file is not found, simply retry 3 seconds later. Also, this
adds a timeout to the acquire semaphore of 3 seconds.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
liblttng-ust-jul/org/lttng/ust/jul/LTTngAgent.java
liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
liblttng-ust-jul/org/lttng/ust/jul/LTTngThread.java
This page took 0.02429 seconds and 4 git commands to generate.