You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/08/23 04:54:41 UTC
[jira] [Created] (KARAF-1763) shutdown command doesn't work
correctly
Jean-Baptiste Onofré created KARAF-1763:
-------------------------------------------
Summary: shutdown command doesn't work correctly
Key: KARAF-1763
URL: https://issues.apache.org/jira/browse/KARAF-1763
Project: Karaf
Issue Type: Bug
Components: karaf-shell
Affects Versions: 2.3.0
Reporter: Jean-Baptiste Onofré
Fix For: 2.3.0
The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Scott England-Sullivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442580#comment-13442580 ]
Scott England-Sullivan commented on KARAF-1763:
-----------------------------------------------
Hi JB,
Notes from the *Latest karaf-2.3.x Hangs on Shutdown* thread on the Developer mailing list.
This issue appears to be a bug in Aries Blueprint and is fixed as part of ARIES-867. In this case the deadlock will occur due to the *org.apache.karaf.shell.console.jline.Console* line 387 (queue.take()) blocking the *BlueprintContainerImpl.destroy()* attempt to destroy the thread without first interrupting it.
I will attach the thread dump for reference.
Best Regards,
Scott ES
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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
[jira] [Updated] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Scott England-Sullivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott England-Sullivan updated KARAF-1763:
------------------------------------------
Attachment: 2.3.x-threaddump-1345609366437.tdump
Attaching thread dump showing BLOCKED BlueprintContainerImpl.destroy()
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
> Attachments: 2.3.x-threaddump-1345609366437.tdump
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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
[jira] [Commented] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Scott England-Sullivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442616#comment-13442616 ]
Scott England-Sullivan commented on KARAF-1763:
-----------------------------------------------
Additional note:
CTRL-D is usable as a work-around until this is resolved. Even if you have issued a shutdown -f or shutdown yes and the console commands have been removed this will still allow you to exit.
Thanks,
Scott ES
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
> Attachments: 2.3.x-threaddump-1345609366437.tdump
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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
[jira] [Commented] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460450#comment-13460450 ]
Jean-Baptiste Onofré commented on KARAF-1763:
---------------------------------------------
shutdown -f works now.
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
> Attachments: 2.3.x-threaddump-1345609366437.tdump
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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
[jira] [Resolved] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-1763.
-----------------------------------------
Resolution: Fixed
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
> Attachments: 2.3.x-threaddump-1345609366437.tdump
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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
[jira] [Commented] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460449#comment-13460449 ]
Jean-Baptiste Onofré commented on KARAF-1763:
---------------------------------------------
Thanks for the update Scott. I gonna work on this issue.
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
> Attachments: 2.3.x-threaddump-1345609366437.tdump
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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
[jira] [Assigned] (KARAF-1763) shutdown command doesn't work
correctly
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-1763:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> shutdown command doesn't work correctly
> ---------------------------------------
>
> Key: KARAF-1763
> URL: https://issues.apache.org/jira/browse/KARAF-1763
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.3.0
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.3.0
>
> Attachments: 2.3.x-threaddump-1345609366437.tdump
>
>
> The shutdown command doesn't stop Karaf. It seems that it stops the console (commands are not available anymore like a simple osgi:list), but not the Karaf main progress.
> I know that we changed the behavior of the console to be less coupled to the Karaf main process, it's probably related.
--
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