karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4183) Plain gogo commands (for scr) don't work from the karaf shell
Date Wed, 09 Dec 2015 16:04:11 GMT

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

Jean-Baptiste Onofré resolved KARAF-4183.
-----------------------------------------
    Resolution: Duplicate
      Assignee: Jean-Baptiste Onofré

> Plain gogo commands (for scr) don't work from the karaf shell
> -------------------------------------------------------------
>
>                 Key: KARAF-4183
>                 URL: https://issues.apache.org/jira/browse/KARAF-4183
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.2
>            Reporter: Benson Margulies
>            Assignee: Jean-Baptiste Onofré
>
> {noformat}
> araf@root>bundle:list -t 0 | grep -i scr
> 104 | Active   |  80 | 3.1.2                   | Apache CXF JAX-RS Service Description
> 127 | Active   |  30 | 4.0.2                   | Apache Karaf :: SCR :: Shell Commands
> 128 | Active   |  30 | 4.0.2                   | Apache Karaf :: SCR :: Management MBeans
> karaf@root>bundle:uninstall 127
> karaf@root>bundle:uninstall 128
> {noformat}
> restart the Karaf.
> Try to use 'scr:info' from the Felix scr bundle. Not found. but:
> {noformat}
> karaf@root>bundle:services -p 107
> Apache Felix Declarative Services (107) provides:
> -------------------------------------------------
> objectClass = [org.osgi.service.cm.ConfigurationListener]
> service.bundleid = 107
> service.description = Declarative Services Configuration Support Listener
> service.id = 56
> service.scope = singleton
> service.vendor = The Apache Software Foundation
> ----
> objectClass = [org.osgi.service.component.runtime.ServiceComponentRuntime]
> service.bundleid = 107
> service.id = 57
> service.scope = singleton
> ----
> objectClass = [org.apache.felix.scr.impl.ScrGogoCommand]
> osgi.command.function = [config, disable, enable, info, list]
> osgi.command.scope = scr
> service.bundleid = 107
> service.description = SCR Gogo Shell Support
> service.id = 58
> service.scope = singleton
> service.vendor = The Apache Software Foundation
> ----
> objectClass = [org.osgi.service.cm.ManagedService]
> service.bundleid = 107
> service.description = SCR Configurator
> service.id = 59
> service.pid = org.apache.felix.scr.ScrService
> service.scope = bundle
> service.vendor = The Apache Software Foundation
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message