tango-controls/JTango

Cannot release resources used by JTango

Closed this issue · 1 comments

Using JTango (with events subscription), I have an issue to stop the Tango threads related to connection to Tango and Zmq.
How can one free all the allocated resources and threads? Are there dedicated methods to call for this?
In this case, my test case JVM would terminate (see attachment).

This is critical for our server (Jyse) to free these resources. We may have multiple connections on multiple hosts, that need to be cleaned up when not used.

Environment: JTango 9.1.2 + Tangobox VM 9.2RC11

TangoMonitorSimple.java.zip

After discussion with the experts, it seems there is no way to release these allocated resources.
As a consequence, one cannot stop our tomcat server properly (a Linux 'kill' command is required).