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 2011/09/21 11:14:08 UTC
[jira] [Created] (KARAF-885) StartBundle doesn't deploy all bundles
if one failed
StartBundle doesn't deploy all bundles if one failed
----------------------------------------------------
Key: KARAF-885
URL: https://issues.apache.org/jira/browse/KARAF-885
Project: Karaf
Issue Type: Improvement
Components: karaf-shell
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 2.2.4, 3.0.0
The shell StartBundle commands doesn't start all bundles if one failed:
protected void doExecute(List<Bundle> bundles) throws Exception {
for (Bundle bundle : bundles) {
bundle.start();
}
}
The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-885) StartBundle doesn't deploy all
bundles if one failed
Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115413#comment-13115413 ]
Jean-Baptiste Onofré commented on KARAF-885:
--------------------------------------------
Fixed on karaf-2.2.x: revision 1176338.
> StartBundle doesn't deploy all bundles if one failed
> ----------------------------------------------------
>
> Key: KARAF-885
> URL: https://issues.apache.org/jira/browse/KARAF-885
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.4, 3.0.0
>
>
> The shell StartBundle commands doesn't start all bundles if one failed:
> protected void doExecute(List<Bundle> bundles) throws Exception {
> for (Bundle bundle : bundles) {
> bundle.start();
> }
> }
> The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
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-885) StartBundle doesn't deploy all
bundles if one failed
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109360#comment-13109360 ]
Jean-Baptiste Onofré commented on KARAF-885:
--------------------------------------------
Same behavior for the BundleStop command.
> StartBundle doesn't deploy all bundles if one failed
> ----------------------------------------------------
>
> Key: KARAF-885
> URL: https://issues.apache.org/jira/browse/KARAF-885
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.4, 3.0.0
>
>
> The shell StartBundle commands doesn't start all bundles if one failed:
> protected void doExecute(List<Bundle> bundles) throws Exception {
> for (Bundle bundle : bundles) {
> bundle.start();
> }
> }
> The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-885) StartBundle doesn't deploy all
bundles if one failed
Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117148#comment-13117148 ]
Jean-Baptiste Onofré commented on KARAF-885:
--------------------------------------------
Fixed on trunk: revision 1177219.
> StartBundle doesn't deploy all bundles if one failed
> ----------------------------------------------------
>
> Key: KARAF-885
> URL: https://issues.apache.org/jira/browse/KARAF-885
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.4, 3.0.0
>
>
> The shell StartBundle commands doesn't start all bundles if one failed:
> protected void doExecute(List<Bundle> bundles) throws Exception {
> for (Bundle bundle : bundles) {
> bundle.start();
> }
> }
> The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
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] [Work started] (KARAF-885) StartBundle doesn't deploy all
bundles if one failed
Posted by "Jean-Baptiste Onofré (Work started JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KARAF-885 started by Jean-Baptiste Onofré.
> StartBundle doesn't deploy all bundles if one failed
> ----------------------------------------------------
>
> Key: KARAF-885
> URL: https://issues.apache.org/jira/browse/KARAF-885
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.4, 3.0.0
>
>
> The shell StartBundle commands doesn't start all bundles if one failed:
> protected void doExecute(List<Bundle> bundles) throws Exception {
> for (Bundle bundle : bundles) {
> bundle.start();
> }
> }
> The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
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] [Closed] (KARAF-885) StartBundle doesn't deploy all bundles
if one failed
Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear closed KARAF-885.
--------------------------------
> StartBundle doesn't deploy all bundles if one failed
> ----------------------------------------------------
>
> Key: KARAF-885
> URL: https://issues.apache.org/jira/browse/KARAF-885
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.4, 3.0.0
>
>
> The shell StartBundle commands doesn't start all bundles if one failed:
> protected void doExecute(List<Bundle> bundles) throws Exception {
> for (Bundle bundle : bundles) {
> bundle.start();
> }
> }
> The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
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] [Resolved] (KARAF-885) StartBundle doesn't deploy all
bundles if one failed
Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-885.
----------------------------------------
Resolution: Fixed
> StartBundle doesn't deploy all bundles if one failed
> ----------------------------------------------------
>
> Key: KARAF-885
> URL: https://issues.apache.org/jira/browse/KARAF-885
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.2.4, 3.0.0
>
>
> The shell StartBundle commands doesn't start all bundles if one failed:
> protected void doExecute(List<Bundle> bundles) throws Exception {
> for (Bundle bundle : bundles) {
> bundle.start();
> }
> }
> The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.
--
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