[ 
https://issues.apache.org/jira/browse/FELIX-4208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radoslaw Stachowiak updated FELIX-4208:
---------------------------------------

    Description: 
The Gogo shell thread doesn't stop when Gogo Shell bundle is stopped.
This is  problem when using Gogo shell with Equinox.
In Felix, the bundle starting thread is a daemon thread, so Gogo shell thread 
is also a daemon thread and when Felix is shutdown, the virtual machine closes.
However in Equinox the bundle starting thread is a normal thread, so Gogo shell 
thread is also a normal thread and when Equinox is shutdown, the virtual 
machine doesn't close, because Gogo shell thread doesn't close (hangs on 
blocking I/O trying to read from InputStream).


  was:
The Gogo shell thread doesn't stop when Gogo Shell bundle is stopped.
This is  problem when using Gogo shell with Equinox.
In Felix, the bundle starting thread is a daemon thread, so Gogo shell thread 
is also a daemon thread and when Felix is shutdown, the virtual machine closes.
However in Equinox the bundle starting thread is a normal thread, so Gogo shell 
thread is also a normal thread and when Equinox is shutdown, the wirtual 
machine doesn't close, because Gogo shell thread doesn't close (hangs on 
blocking I/O trying to read from InputStream).


    
> The Gogo shell thread doesn't stop when Gogo Shell bundle is stopped.
> ---------------------------------------------------------------------
>
>                 Key: FELIX-4208
>                 URL: https://issues.apache.org/jira/browse/FELIX-4208
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Shell
>    Affects Versions: gogo.shell-0.10.0
>         Environment: Equinox
>            Reporter: Radoslaw Stachowiak
>            Priority: Critical
>
> The Gogo shell thread doesn't stop when Gogo Shell bundle is stopped.
> This is  problem when using Gogo shell with Equinox.
> In Felix, the bundle starting thread is a daemon thread, so Gogo shell thread 
> is also a daemon thread and when Felix is shutdown, the virtual machine 
> closes.
> However in Equinox the bundle starting thread is a normal thread, so Gogo 
> shell thread is also a normal thread and when Equinox is shutdown, the 
> virtual machine doesn't close, because Gogo shell thread doesn't close (hangs 
> on blocking I/O trying to read from InputStream).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to