You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/07/15 17:46:14 UTC

[jira] Created: (FELIX-1362) Command install feature does not work anymore in apache felix karaf since gogo switch

Command install feature does not work anymore in apache felix karaf since gogo switch
-------------------------------------------------------------------------------------

                 Key: FELIX-1362
                 URL: https://issues.apache.org/jira/browse/FELIX-1362
             Project: Felix
          Issue Type: Bug
          Components: Karaf
            Reporter: Charles Moulliard


D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>karaf
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Felix Karaf (1.2.0-SNAPSHOT)

Type 'help' for more information.

karaf@root> karaf
karaf
karaf@root> karaf@root> osgi
osgi
karaf@root> karaf@root> list
START LEVEL 100
   ID   State         Blueprint     Level  Name
[   0] [Active     ] [           ] [    0] System Bundle (1.9.0.SNAPSHOT)
[   1] [Active     ] [           ] [   10] Apache Felix Configuration Admin Service (1.0.4)
[   2] [Active     ] [           ] [   10] Apache Felix Prefrences Service (1.0.2)
[   3] [Active     ] [Created    ] [   20] Apache Geronimo Blueprint Bundle (1.0.0.SNAPSHOT)
[   4] [Active     ] [           ] [    8] OPS4J Pax Logging - Service (1.3.1.SNAPSHOT)
[   5] [Active     ] [           ] [    8] OPS4J Pax Logging - API (1.3.1.SNAPSHOT)
[   6] [Active     ] [           ] [    5] OPS4J Pax Url - wrap: (0.3.3)
[   7] [Active     ] [           ] [    5] OPS4J Pax Url - mvn: (0.3.3)
[   8] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell PackageAdmin Commands (1.2.0.SNAPSHOT)
[   9] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Spring Deployer (1.2.0.SNAPSHOT)
[  10] [Active     ] [           ] [   30] Apache MINA Core (2.0.0.M6)
[  11] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Blueprint Deployer (1.2.0.SNAPSHOT)
[  12] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell OSGi Commands (1.2.0.SNAPSHOT)
[  13] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Management (1.2.0.SNAPSHOT)
[  14] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Console (1.2.0.SNAPSHOT)
[  15] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell ConfigAdmin Commands (1.2.0.SNAPSHOT)
[  16] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Admin (1.2.0.SNAPSHOT)
[  17] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Config (1.2.0.SNAPSHOT)
[  18] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Features (1.2.0.SNAPSHOT)
[  19] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell SSH (1.2.0.SNAPSHOT)
[  20] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Features Deployer (1.2.0.SNAPSHOT)
[  21] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Various Commands (1.2.0.SNAPSHOT)
[  22] [Active     ] [           ] [   30] Apache Mina SSHD :: Core (1.0.0.SNAPSHOT)
[  23] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Log Commands (1.2.0.SNAPSHOT)
[  24] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Modules (1.2.0.SNAPSHOT)
[  25] [Active     ] [           ] [   30] Apache Felix Gogo Shell Runtime (0.9.0.SNAPSHOT)
[  26] [Active     ] [           ] [   15] Apache Felix Karaf :: File Monitor (1.2.0.SNAPSHOT)
karaf@root> karaf@root> features
features
karaf@root> karaf@root> install obr
java.net.MalformedURLException: no protocol: obr
karaf@root> karaf@root>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (FELIX-1362) Command install feature does not work anymore in apache felix karaf since gogo switch

Posted by Guillaume Nodet <gn...@gmail.com>.
Try "features:install obr", it should work. Subshells don't work
anymore so you can't do "features ; install obr", else it will try to
use the osgi:install command which will fail.

On Wednesday, July 15, 2009, Charles Moulliard (JIRA) <ji...@apache.org> wrote:
> Command install feature does not work anymore in apache felix karaf since gogo switch
> -------------------------------------------------------------------------------------
>
>                  Key: FELIX-1362
>                  URL: https://issues.apache.org/jira/browse/FELIX-1362
>              Project: Felix
>           Issue Type: Bug
>           Components: Karaf
>             Reporter: Charles Moulliard
>
>
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>karaf
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>
>   Apache Felix Karaf (1.2.0-SNAPSHOT)
>
> Type 'help' for more information.
>
> karaf@root> karaf
> karaf
> karaf@root> karaf@root> osgi
> osgi
> karaf@root> karaf@root> list
> START LEVEL 100
>    ID   State         Blueprint     Level  Name
> [   0] [Active     ] [           ] [    0] System Bundle (1.9.0.SNAPSHOT)
> [   1] [Active     ] [           ] [   10] Apache Felix Configuration Admin Service (1.0.4)
> [   2] [Active     ] [           ] [   10] Apache Felix Prefrences Service (1.0.2)
> [   3] [Active     ] [Created    ] [   20] Apache Geronimo Blueprint Bundle (1.0.0.SNAPSHOT)
> [   4] [Active     ] [           ] [    8] OPS4J Pax Logging - Service (1.3.1.SNAPSHOT)
> [   5] [Active     ] [           ] [    8] OPS4J Pax Logging - API (1.3.1.SNAPSHOT)
> [   6] [Active     ] [           ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [   7] [Active     ] [           ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [   8] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell PackageAdmin Commands (1.2.0.SNAPSHOT)
> [   9] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Spring Deployer (1.2.0.SNAPSHOT)
> [  10] [Active     ] [           ] [   30] Apache MINA Core (2.0.0.M6)
> [  11] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Blueprint Deployer (1.2.0.SNAPSHOT)
> [  12] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell OSGi Commands (1.2.0.SNAPSHOT)
> [  13] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Management (1.2.0.SNAPSHOT)
> [  14] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Console (1.2.0.SNAPSHOT)
> [  15] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell ConfigAdmin Commands (1.2.0.SNAPSHOT)
> [  16] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Admin (1.2.0.SNAPSHOT)
> [  17] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Config (1.2.0.SNAPSHOT)
> [  18] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Features (1.2.0.SNAPSHOT)
> [  19] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell SSH (1.2.0.SNAPSHOT)
> [  20] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Features Deployer (1.2.0.SNAPSHOT)
> [  21] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Various Commands (1.2.0.SNAPSHOT)
> [  22] [Active     ] [           ] [   30] Apache Mina SSHD :: Core (1.0.0.SNAPSHOT)
> [  23] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Log Commands (1.2.0.SNAPSHOT)
> [  24] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Modules (1.2.0.SNAPSHOT)
> [  25] [Active     ] [           ] [   30] Apache Felix Gogo Shell Runtime (0.9.0.SNAPSHOT)
> [  26] [Active     ] [           ] [   15] Apache Felix Karaf :: File Monitor (1.2.0.SNAPSHOT)
> karaf@root> karaf@root> features
> features
> karaf@root> karaf@root> install obr
> java.net.MalformedURLException: no protocol: obr
> karaf@root> karaf@root>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

[jira] Commented: (FELIX-1362) Command install feature does not work anymore in apache felix karaf since gogo switch

Posted by "Filippo Diotalevi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732188#action_12732188 ] 

Filippo Diotalevi commented on FELIX-1362:
------------------------------------------

Hi, my understanding is that with gogo the interface is slightly different; you should install a feature typing
karaf@root> features:install obr

Can you please check and close the issue if it solve the problem?

> Command install feature does not work anymore in apache felix karaf since gogo switch
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-1362
>                 URL: https://issues.apache.org/jira/browse/FELIX-1362
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Charles Moulliard
>
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>karaf
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>   Apache Felix Karaf (1.2.0-SNAPSHOT)
> Type 'help' for more information.
> karaf@root> karaf
> karaf
> karaf@root> karaf@root> osgi
> osgi
> karaf@root> karaf@root> list
> START LEVEL 100
>    ID   State         Blueprint     Level  Name
> [   0] [Active     ] [           ] [    0] System Bundle (1.9.0.SNAPSHOT)
> [   1] [Active     ] [           ] [   10] Apache Felix Configuration Admin Service (1.0.4)
> [   2] [Active     ] [           ] [   10] Apache Felix Prefrences Service (1.0.2)
> [   3] [Active     ] [Created    ] [   20] Apache Geronimo Blueprint Bundle (1.0.0.SNAPSHOT)
> [   4] [Active     ] [           ] [    8] OPS4J Pax Logging - Service (1.3.1.SNAPSHOT)
> [   5] [Active     ] [           ] [    8] OPS4J Pax Logging - API (1.3.1.SNAPSHOT)
> [   6] [Active     ] [           ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [   7] [Active     ] [           ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [   8] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell PackageAdmin Commands (1.2.0.SNAPSHOT)
> [   9] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Spring Deployer (1.2.0.SNAPSHOT)
> [  10] [Active     ] [           ] [   30] Apache MINA Core (2.0.0.M6)
> [  11] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Blueprint Deployer (1.2.0.SNAPSHOT)
> [  12] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell OSGi Commands (1.2.0.SNAPSHOT)
> [  13] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Management (1.2.0.SNAPSHOT)
> [  14] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Console (1.2.0.SNAPSHOT)
> [  15] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell ConfigAdmin Commands (1.2.0.SNAPSHOT)
> [  16] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Admin (1.2.0.SNAPSHOT)
> [  17] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Config (1.2.0.SNAPSHOT)
> [  18] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Features (1.2.0.SNAPSHOT)
> [  19] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell SSH (1.2.0.SNAPSHOT)
> [  20] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Features Deployer (1.2.0.SNAPSHOT)
> [  21] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Various Commands (1.2.0.SNAPSHOT)
> [  22] [Active     ] [           ] [   30] Apache Mina SSHD :: Core (1.0.0.SNAPSHOT)
> [  23] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Log Commands (1.2.0.SNAPSHOT)
> [  24] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Modules (1.2.0.SNAPSHOT)
> [  25] [Active     ] [           ] [   30] Apache Felix Gogo Shell Runtime (0.9.0.SNAPSHOT)
> [  26] [Active     ] [           ] [   15] Apache Felix Karaf :: File Monitor (1.2.0.SNAPSHOT)
> karaf@root> karaf@root> features
> features
> karaf@root> karaf@root> install obr
> java.net.MalformedURLException: no protocol: obr
> karaf@root> karaf@root>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-1362) Command install feature does not work anymore in apache felix karaf since gogo switch

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

Charles Moulliard closed FELIX-1362.
------------------------------------

    Resolution: Fixed

Features can be installed using the command : features: install obr

> Command install feature does not work anymore in apache felix karaf since gogo switch
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-1362
>                 URL: https://issues.apache.org/jira/browse/FELIX-1362
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Charles Moulliard
>
> D:\Dvlpt\Java\workspace-ganymede\x3s\server\apache-felix-karaf-1.2.0-SNAPSHOT\bin>karaf
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>   Apache Felix Karaf (1.2.0-SNAPSHOT)
> Type 'help' for more information.
> karaf@root> karaf
> karaf
> karaf@root> karaf@root> osgi
> osgi
> karaf@root> karaf@root> list
> START LEVEL 100
>    ID   State         Blueprint     Level  Name
> [   0] [Active     ] [           ] [    0] System Bundle (1.9.0.SNAPSHOT)
> [   1] [Active     ] [           ] [   10] Apache Felix Configuration Admin Service (1.0.4)
> [   2] [Active     ] [           ] [   10] Apache Felix Prefrences Service (1.0.2)
> [   3] [Active     ] [Created    ] [   20] Apache Geronimo Blueprint Bundle (1.0.0.SNAPSHOT)
> [   4] [Active     ] [           ] [    8] OPS4J Pax Logging - Service (1.3.1.SNAPSHOT)
> [   5] [Active     ] [           ] [    8] OPS4J Pax Logging - API (1.3.1.SNAPSHOT)
> [   6] [Active     ] [           ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [   7] [Active     ] [           ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [   8] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell PackageAdmin Commands (1.2.0.SNAPSHOT)
> [   9] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Spring Deployer (1.2.0.SNAPSHOT)
> [  10] [Active     ] [           ] [   30] Apache MINA Core (2.0.0.M6)
> [  11] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Blueprint Deployer (1.2.0.SNAPSHOT)
> [  12] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell OSGi Commands (1.2.0.SNAPSHOT)
> [  13] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Management (1.2.0.SNAPSHOT)
> [  14] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Console (1.2.0.SNAPSHOT)
> [  15] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell ConfigAdmin Commands (1.2.0.SNAPSHOT)
> [  16] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Admin (1.2.0.SNAPSHOT)
> [  17] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Config (1.2.0.SNAPSHOT)
> [  18] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Features (1.2.0.SNAPSHOT)
> [  19] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell SSH (1.2.0.SNAPSHOT)
> [  20] [Active     ] [Created    ] [   30] Apache Felix Karaf :: Features Deployer (1.2.0.SNAPSHOT)
> [  21] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Various Commands (1.2.0.SNAPSHOT)
> [  22] [Active     ] [           ] [   30] Apache Mina SSHD :: Core (1.0.0.SNAPSHOT)
> [  23] [Active     ] [Created    ] [   30] Apache Felix Karaf :: GShell Log Commands (1.2.0.SNAPSHOT)
> [  24] [Active     ] [Created    ] [   30] Apache Felix Karaf :: JAAS Modules (1.2.0.SNAPSHOT)
> [  25] [Active     ] [           ] [   30] Apache Felix Gogo Shell Runtime (0.9.0.SNAPSHOT)
> [  26] [Active     ] [           ] [   15] Apache Felix Karaf :: File Monitor (1.2.0.SNAPSHOT)
> karaf@root> karaf@root> features
> features
> karaf@root> karaf@root> install obr
> java.net.MalformedURLException: no protocol: obr
> karaf@root> karaf@root>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.