You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 11:32:39 UTC

[jira] [Created] (KARAF-1050) "osgi:start xxx" doesn't print anything

"osgi:start xxx" doesn't print anything
---------------------------------------

                 Key: KARAF-1050
                 URL: https://issues.apache.org/jira/browse/KARAF-1050
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.2.4, 3.0.0
            Reporter: Guillaume Nodet


Or "bundle:start xxx" on 3.0
A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428963#comment-13428963 ] 

Jean-Baptiste Onofré commented on KARAF-1050:
---------------------------------------------

Be careful around the bundle selector: there is several way to select bundles (id is one way, symbolic name is an other, etc).
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1050 started by Freeman Fang.

> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Freeman Fang
>         Attachments: karaf-2.3_1050.diff
>
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Heath Kesler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427599#comment-13427599 ] 

Heath Kesler commented on KARAF-1050:
-------------------------------------

it looks like this has been resolved in 3.0 anyway.  When I use the command : "bundle:start xxx" I get "No bundles specified", if I try "bundle:start 100" (and 100 does not exist) I get "Bundle 100 is invalid /n No bundles specified."

I believe that is what is being asked for here, correct?
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved KARAF-1050.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.3.0
                   2.2.9

apply patch which backport the fix to both karaf 2.2.x and 2.3.x branches on behalf of Heath Kesler with thanks
http://svn.apache.org/viewvc?rev=1369726&view=rev for 2.3.x branch
http://svn.apache.org/viewvc?rev=1369724&view=rev for 2.2.x branch
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Freeman Fang
>             Fix For: 2.2.9, 2.3.0, 3.0.0
>
>         Attachments: karaf-2.3_1050.diff
>
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428986#comment-13428986 ] 

Freeman Fang commented on KARAF-1050:
-------------------------------------

The patch looks good for me,  the bundle id and symbolic name selector both works. If "xxx" can't match bundleid and symbolic name, just output "No bundles specified."
I will apply the patch soon for both karaf 2.2.x and 2.3.x
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Freeman Fang
>         Attachments: karaf-2.3_1050.diff
>
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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] [Updated] (KARAF-1050) "osgi:start xxx" doesn't print anything

Posted by "Heath Kesler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heath Kesler updated KARAF-1050:
--------------------------------

    Attachment: karaf-2.3_1050.diff

I back ported the changes to 2.3 for review, if they look good I will make the same changes to 2.2.9.

I updated startbundle, stopbundle, restartbundle and uninstall bundle (even tho the ticket only states start). Installbundle appeared to already handle this. 

I tested and compared to 3.0 and it appears match the same output now. 
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>         Attachments: karaf-2.3_1050.diff
>
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Heath Kesler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428961#comment-13428961 ] 

Heath Kesler commented on KARAF-1050:
-------------------------------------

in 2.2 and 2.3 there is nothing printed to the console for 'bundle:start xxx' (as the bug states).  I can see if I can find the fix in 3.0 and back port it to 2.2.9 and 2.3.0.

but 'bundle:start 100' in both presents the message 'Bundle 100 is invalid'


                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Heath Kesler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426297#comment-13426297 ] 

Heath Kesler commented on KARAF-1050:
-------------------------------------

I will take a look at this.
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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-1050) "osgi:start xxx" doesn't print anything

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428942#comment-13428942 ] 

Jamie goodyear commented on KARAF-1050:
---------------------------------------

That appears to be what is being asked for here - thanks for investigating.

How about the 2.2. and 2.3 lines?
                
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

--
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] [Assigned] (KARAF-1050) "osgi:start xxx" doesn't print anything

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned KARAF-1050:
-----------------------------------

    Assignee: Freeman Fang
    
> "osgi:start xxx" doesn't print anything
> ---------------------------------------
>
>                 Key: KARAF-1050
>                 URL: https://issues.apache.org/jira/browse/KARAF-1050
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Freeman Fang
>         Attachments: karaf-2.3_1050.diff
>
>
> Or "bundle:start xxx" on 3.0
> A statement saying that there's no matching bundle should be printed to the console imho

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