You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/02/02 08:23:59 UTC
[jira] Created: (FELIX-914) Stopping remote shell bundle does not
close existing sessions
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.
[jira] Closed: (FELIX-914) Stopping remote shell bundle does not
close existing sessions
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-914.
-----------------------------------
Resolution: Fixed
Implemented in Rev 739941: All remote shell connections are registered when started and unregistered when terminated. When the remote shell bundle is stopped, all remote shell connections still registered are closed down to ensure the bundle is properly stopped and can be garbage collected.
> 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.
[jira] Work started: (FELIX-914) Stopping remote shell bundle does
not close existing sessions
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on FELIX-914 started by Felix Meschberger.
> 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.