felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-914) Stopping remote shell bundle does not close existing sessions
Date Mon, 02 Feb 2009 08:29:59 GMT

     [ 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.

View raw message