stall and apparent deadlock between write in stopProcess and writeNormal threads
while WebServiceShell is writing data, a timer thread is operating that can stop the data writing thread if max time is exceeded. In the stall observed, the timer was tripped and tried to write an error notification to the output data stream. This write was locked out by the data writing thread, but since data writing thread could not finish its operation and release its lock on output data stream, the application became stalled.
#1 Updated by Mike Stults over 5 years ago
- Resolution set to Fixed
Added an ExecutorService to stop the stopProcess write if needed, and continue with the kill process.
m "add ExecutorService to give the ability to set a time limit on stopProcess, if it blocks, timeout and continute with killit" )
[master 90ee649] add ExecutorService to give the ability to set a time limit on stopProcess, if it blocks, timeout and continute with killit
3 files changed, 50 insertions(+), 13 deletions(