Stopping remote shell bundle does not close existing sessions
-------------------------------------------------------------
Key: FELIX-914
URL: https://issues.apache.org/jira/browse/FELIX-914
Project: Felix
Issue Type: Bug
Components: Remote Shell
Affects Versions: shell.remote-1.0.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: shell.remote-1.0.4
When the Remote Shell bundle is stopped, the listener thread is stopped, but
any threads currently handling remote shell connections are
not stopped. If such connections receive commands, they cause
NullPointerExceptions (since the service is not available any more due to
the bundle stop) and the remote end seems to hang.
The right handling would be to terminate any remote handling threads and to
close the respective connections.
This would also clean up the threads and allow for proper garbage collection in
case of bundle uninstallation or upgrade.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.