I am giving a port range in cog.properties like following. Looks like the code is never doing a reset of org.globus.net.PortRange.ports[]. Ports are actually available but this array is never reset and get "No free ports available".
tcp.port.range=4001,4005 #small range for testing
I can make the change to reset this and again call the getFreePort to restart the values. WDYT?
ServerSocket close is not called. PrServerSocket and other socket has close functions have close and ports are set to UNUSED. I will take a look how to call this and close ServerSocket.
I am giving a port range in cog.properties like following. Looks like the code is never doing a reset of org.globus.net.PortRange.ports[]. Ports are actually available but this array is never reset and get "No free ports available". tcp.port.range=4001,4005 #small range for testing
I can make the change to reset this and again call the getFreePort to restart the values. WDYT?